<?
{
$row_view['main'] = str_replace("/n", "<br>", $row_view['main']);
$row_view['main'] = str_replace(" ", " ", $row_view['main']);
$row_view['main'] = str_replace("<b>", "[b]", $row_view['main']);
$row_view['main'] = str_replace("</b>", "[/b]", $row_view['main']);
$row_view['main'] = str_replace("<i>", "[i]", $row_view['main']);
$row_view['main'] = str_replace("</i>", "[/i]", $row_view['main']);
$row_view['main'] = str_replace("<u>", "[u]", $row_view['main']);
$row_view['main'] = str_replace("</u>", "[/u]", $row_view['main']);
$row_view['main'] = str_replace("<img src=", "[img]", $row_view['main']);
$row_view['main'] = str_replace("> ", "[/img]", $row_view['main']);
$row_view['main'] = str_replace("<a href=", "[url]", $row_view['main']);
$row_view['main'] = str_replace("> ", "[/url]", $row_view['main']);
$row_view['main'] = str_replace("<a href=mailto:", "[email]", $row_view['main']);
$row_view['main'] = str_replace("> ", "[/email]", $row_view['main']);
}
?>
also is there i way i can make it work with all the pages automaticly cause right now i would have to add this code to everypage cause of the row names and stuff. is there a way i can make it just a include so i can put it in the templete for the site and it includes it on every page automaticly?

New Topic/Question
Reply




MultiQuote




|