if (ereg('special word', $string)) {
echo 'Found';
} else {
echo 'Not Found';
}
--
Julio Nobrega
No matter where you go, &this.
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hey ..
>
> i want php to do an IF, when he founds a special word in a stri
> i want php to do an IF, when he founds a special word in a string (ex:
> text_-_write_-_text ) .. i m not able to manage it ..
Could you use this example?
Regards,
Johan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
hey ..
i want php to do an IF, when he founds a special word in a string (ex:
text_-_write_-_text ) .. i m not able to manage it ..
thnx for helping in foward
greetings
wolf.dietrich von loeffelholz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
3 matches
Mail list logo