I'm trying to find a php code to manage this:
I want to add a line break tag
Code: Select all
<br />Is it possible to do? Can anyone help me on this?
Thank you.
Moderator: General Moderators
Code: Select all
<br />Code: Select all
$str = str_ireplace('<br />',"<br />\n",$str);Code: Select all
// show/hides the intro text
if ( $params->get('introtext' ) ) {
$intro = $row-> introtext;
$row->text = "<span class='intro'>".$intro."</span>". ( $params->get( 'intro_only' ) ? '' : chr(13) . chr(13) . $row->fulltext);
} else {
$row->text = $row->fulltext;
}