RE: [PHP] exists?
| From: | joakim dot andersson at cybercom dot se | Date: | Tue, 05 Mar 2002 08:52:11 +0000 |
| Subject: | RE: [PHP] exists? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-87242@lists.php.net to get a copy of this message | ||
Perhaps something like this:
if(strpos($searchenquiry, "%"))
{
do
}else{
don't
}
/Joakim
> -----Original Message-----
> From: jtjohnston [mailto:taylorjo@collegesherbrooke.qc.ca]
> Sent: Tuesday, March 05, 2002 9:29 AM
> To: php-general@lists.php.net
> Subject: [PHP] exists?
>
>
> It's late, I'm tired.
> I want to parse $searchenquiry
>
> if("%" exists in $searchenquiry)
> {
> do ...
> }else{
> do ...
> }
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>