str_replace

From: Date: Sat, 08 Aug 2009 08:08:57 +0000
Subject: str_replace
Groups: php.general 
Request: Send a blank email to php-general+get-296458@lists.php.net to get a copy of this message
Am I understanding str_replace correctly? Do I have this correct or are ' needed? $bible_verse_ref is what I want to change to (AKA replace) bible_verse_ref is what I change to change from (AKA search) $text_message_template is the string I want to manipulate $text_message = str_replace( $bible_verse_ref, 'bible_verse_ref', $text_message_template ); Ron

« previous php.general (#296458) next »