I'll try again... my explanation of my exact problem was not too good
last time :P

I am working with the following code:

        $text = "##firstname##";
        $text = ereg_replace("##([^#]+)##", $row["\\1"], $text);

$row[] is a result of using mysql_fetch_array. I would expect it to
replace ##firstname## with the value of $row["firstname"]... but
nothing happens.

Matthew


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to