str_replace help...
Posted: Fri Mar 14, 2003 2:06 pm
i have a problem using the str_replace thing;
my problem is that it doesnt replace {title} (wich is in the text file) with "$title" ($title being the title of the news)
can anyone help me??
(btw: why are all the checkboxes in this forum wonkey?!)
Code: Select all
include 'template.txt';
$text str_replace ('{title}', $title, $text)
echo $text;can anyone help me??
(btw: why are all the checkboxes in this forum wonkey?!)