by the way, what are you actually trying to do with the code? there may be a
different way of doing it which isn't so confusing?
-Original Message-
From: tomhilton [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2002 15:20
To: [EMAIL PROTECTED]
Subject: [PHP-DB] string compare function
lto:[EMAIL PROTECTED]]
Sent: 17 January 2002 15:20
To: [EMAIL PROTECTED]
Subject: [PHP-DB] string compare function
Hi, this is more of an earlier post regarding the strcmp function and my
problems with it on my Win98 machine.
This is the actual code I used for the strcmp function,
$errors=0;
Hi, this is more of an earlier post regarding the strcmp function and my
problems with it on my Win98 machine.
This is the actual code I used for the strcmp function,
$errors=0;
if (empty($username)||empty($pword)||empty ($conf_pword)||empty($redirect))
{
echo "Please hit your browser's back
post the entire line of code, (and the surrounding couple of lines??
and we'll get more of an idea.
-Original Message-
From: tomhilton [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2002 14:56
To: [EMAIL PROTECTED]
Subject: [PHP-DB] string compare function
Hi, I'm having a pr
Hi, I'm having a problem with the stcmp() function. I have it comparing two
string variables, $pword and $conf_pword, in a script. I know they both
have values, but the result always compares to 1 when $pword is the first
variable in the function, and -1 when $pword is the 2nd variable in the
fu