note 36025 rejected from str_replace by ali

From: Date: Tue, 23 Sep 2003 12:16:32 +0000
Subject: note 36025 rejected from str_replace by ali
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56968@lists.php.net to get a copy of this message
Note Submitter: lwp_iname@yahoo.com ---- I wanna replace a question mark '?' by "<" out of a string. what should i do? I've tried the following, but they just won't work, any idea what i should do!? $text = str_replace( "?/f", "</f", $text ); // nothing happened $text = str_replace( "\?/f", "</f", $text ); //nothing happened.

« previous php.notes (#56968) next »