Re: [PHP] php string match problem

2002-08-18 Thread Brad Bulger
have you tried printing them out with surrounding characters, like echo 'row8=(',$row[8],') LOGINNAME=(',$LOGINNAME,')'; to see if there are leading or trailing spaces? On Mon, 19 Aug 2002, Pafo wrote: > heh,, is it just me or can anyone see whats wrong with this code... > > $query = "SELECT

RE: [PHP] php string match problem

2002-08-18 Thread Martin Towell
oops again, please ignore my last two posts :( -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 3:38 PM To: 'Pafo'; [EMAIL PROTECTED] Subject: RE: [PHP] php string match problem oh, just realised, one of them needs to go below

RE: [PHP] php string match problem

2002-08-18 Thread Martin Towell
oh, just realised, one of them needs to go below the "else" line, to end the "while" loop -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 3:37 PM To: 'Pafo'; [EMAIL PROTECTED] Subject: RE: [PHP] php string

RE: [PHP] php string match problem

2002-08-18 Thread Martin Towell
You've got too many closing braces... if ($temp == $temp2) { $ierror = "Loginnamnet är redan upptaget!" . $ierror; } <--- Here's one } <--- Here's the other } else { print "error"; } <--- And a third