Jump to content

Smarty function problem


selenin

Recommended Posts

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  :shrug:, don't want to use {php}

Link to comment
https://forums.phpfreaks.com/topic/204309-smarty-function-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.