> Notice the ' inside the '', this is bad syntax. For more
> information on using strings in PHP, see:
Sheesh you're right, as I said it was probably a dumb error, three other
people have looked at this that I'm aware of and missed it toolol glad
your eyes are better than ours. Thank you fo
You have:
if ($player_password != $player_password_verify) {
$errmsg .= 'Password don't match. Please try again';
$error = 1;
}
Notice the ' inside the '', this is bad syntax. For more
information on using strings in PHP, see:
http://www.zend.com/zend/tut/using-strings.php
http://
> If the "error" is a warning about undefined variable, then set a default
> value for $errmsg before you start adding strings to it.
>
> $errmsg .= "this";
>
> That by itself means $errmsg = $errmsg . "this";, but if $errmsg isnt'
> defined, you'll get the warning.
>
> Set $errmsg = ''; at the be
y, June 01, 2002 11:29 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Baffled, line producing error
>
> I was happily coding when I came across a mysterious error. I've
traced
> it
> to this line
>
> if ($player_password != $player_password_verify) { $errmsg .=
'Password
What is the exact error message are you seeing?
> -Original Message-
> From: Craig Vincent [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 01, 2002 11:29 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Baffled, line producing error
>
>
> I was happily cod
I was happily coding when I came across a mysterious error. I've traced it
to this line
if ($player_password != $player_password_verify) { $errmsg .= 'Password
don't match. Please try again'; $error = 1; }
commented out the script runs fine, if this line is active an error is
produced. My eye
6 matches
Mail list logo