What is the expected return when using strtr() to compare a string to
an empty string?
example:
$myval = strstr('bob', '');
Thanks,
Charles
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Original Message -
From: Charles Kline [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 18, 2003 12:50 PM
Subject: [PHP] strstr() question
What is the expected return when using strtr() to compare a string to
an empty string?
example:
$myval = strstr('bob
I am currently writing a piece of code that when a user enters in their
email address it will check it for validity.
In this instance they are supposed to type in [EMAIL PROTECTED] But if they
just type in user I want it to add @domain.com at the end by default. This
is the piece of code I have
On Sun, 12 Aug 2001 18:42:48 -0500, Erich Zigler
([EMAIL PROTECTED]) wrote:
I am currently writing a piece of code that when a user enters in
their
email address it will check it for validity.
In this instance they are supposed to type in [EMAIL PROTECTED] But if
they
just type in user I want it
4 matches
Mail list logo