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} 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. Link to comment https://forums.phpfreaks.com/topic/204309-smarty-function-problem/#findComment-1070053 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.