Re: str_replace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



looks good,
u r searching for $bible_verse_ref in $text_message_template to be replaced
by the string "bible_verse_ref".

if that makes sence to u, yes its right.

ralph
ralph_deffke@xxxxxxxx

""Ron Piggott"" <ron.php@xxxxxxxxxxxxxxxxxx> wrote in message
news:83745B9E385A4402888BA5924C2965F6@xxxxxxxxxxxxxxxxx
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux