RE: [PHP] Baffled, line producing error

2002-06-01 Thread Jonathan Rosenberg
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 coding when I came across a mysterious

RE: [PHP] Baffled, line producing error

2002-06-01 Thread John Holmes
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 beginning of your

Re: [PHP] Baffled, line producing error

2002-06-01 Thread Craig Vincent
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 beginning of

Re: [PHP] Baffled, line producing error

2002-06-01 Thread Philip Olson
You have: if ($player_password != $player_password_verify) { $errmsg .= 'Password don't match. Please try againBR'; $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

Re: [PHP] Baffled, line producing error

2002-06-01 Thread Craig Vincent
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 for