RE: [PHP-DB] Error prevention

2001-03-13 Thread Martin Skjöldebrand
Michael Rudel wrote: > Hi Martin, > > ... you forgot to 'mysql_fetch_row' or 'mysql_result'. Read about it in > the PHP-Manual in the MySQL Functions. Thanks Mike (and everyone else who pointed this out), Sometimes you're blind. When you think you pass the "complete-and-utter-newbie" phase som

RE: [PHP-DB] Error prevention

2001-03-13 Thread Michael Rudel
AIL PROTECTED]] Sent: Tuesday, March 13, 2001 5:05 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Error prevention I'm baffled (again ) In my mql database I'm doing: SELECT cl_login FROM client WHERE cl_login = "xxx"; and if "xxx" exists I get the result xxx while if i

[PHP-DB] Error prevention

2001-03-13 Thread Martin Skjöldebrand
I'm baffled (again ) In my mql database I'm doing: SELECT cl_login FROM client WHERE cl_login = "xxx"; and if "xxx" exists I get the result xxx while if it doesn't exist I get an empty string. In PHP I'm doing $querytest = "SELECT cl_login FROM client WHERE cl_login = '$txtLogin';"; $testr