<b>
| From: | jtjohnston | Date: | Tue, 06 Nov 2001 07:32:17 +0000 |
| Subject: | <b> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73553@lists.php.net to get a copy of this message | ||
Hi,
$MyString = "aaaaaaaaJohnaaaaaaaaaa";
$CaseSensitive = 0;
if($CaseSensitive == 0)
{
I want to search for "john" in $MyString and output:
"aaaaaaaa<b>John</b>aaaaaaaaaa".
}else{
I want to search for "John" in $MyString and output:
"aaaaaaaa<b>John</b>aaaaaaaaaa".
}
How to do these two things?
:0(
John