selenin Posted June 9, 2010 Share Posted June 9, 2010 Hello, it's me again, tried everything but got stuck again, my code: $descimdb = $movie->plot(); $smarty->assign('descimdb', $descimdb); My template code: {foreach from=$descimdb item=foo} <td><textarea name="description" cols="60" rows="6">{$foo}</textarea></td> {/foreach} Now I want to use the function strip_tags() to remove the html stuff, but don't know where to put this function , don't want to use {php} Quote Link to comment https://forums.phpfreaks.com/topic/204309-smarty-function-problem/ Share on other sites More sharing options...
selenin Posted June 9, 2010 Author Share Posted June 9, 2010 Shit, wanted to use it in an array, but solved, thanks. Quote Link to comment https://forums.phpfreaks.com/topic/204309-smarty-function-problem/#findComment-1070053 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.