Re: [Newman] function to use

From: Date: Mon, 05 May 2003 06:24:30 +0000
Subject: Re: [Newman] function to use
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146407@lists.php.net to get a copy of this message
>> I'm looking for a function that dose the following. >> >> $foo = "should i say hello world?"; >> >> if $foo (has the word hello in it continue) >> >> else don't >> >> any ideas <? $foo = 'should i say hello world?'; if(eregi('hello',$foo)) { // it was found } ?> Justin

« previous php.general (#146407) next »