RE: [PHP] ereg help ?

From: Date: Wed, 07 Nov 2001 00:24:40 +0000
Subject: RE: [PHP] ereg help ?
Groups: php.general 
Request: Send a blank email to php-general+get-73659@lists.php.net to get a copy of this message
what about strstr() ? do you really need to use regex? -----Original Message----- From: Teqila MAN [mailto:teqilaman@poczta.wp.pl] Sent: Wednesday, November 07, 2001 11:13 AM To: php-general@lists.php.net Subject: [PHP] ereg help ? Help How to make : If in a string $string exist phrase $fin then the result is ...print something... example $string="erpgokgpkekgo (333) giojgitejrgoijtre mmfmer (213)" $fin ="333" ($fin is submitted from form) How to find out if in in $string exist $fin i think that something with ereg...but i have errors if(ereg("$fin",$string)) Warning: REG_EMPTY: Thanks Teqilaman

« previous php.general (#73659) next »