php-general | 2001072
Date: 07/31/01
- Next message: Christopher Cheng: "[PHP] How to compile PHP with IMAP option?"
- Previous message: Gaylen Fraley: "[PHP] Re: Content Management Systems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Christopher Cheng: "[PHP] How to compile PHP with IMAP option?"
- Previous message: Gaylen Fraley: "[PHP] Re: Content Management Systems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

