ereg help ?
| From: | Teqila MAN | Date: | Wed, 07 Nov 2001 00:12:55 +0000 |
| Subject: | ereg help ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73657@lists.php.net to get a copy of this message | ||
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