Re: [PHP-DB] How do I test on number of fields ?

2001-03-20 Thread Jason Stechschulte
On Mon, Mar 19, 2001 at 10:06:52PM -0800, Toke Herkild wrote: I've written this login rutine But that doesn't work... I've tried to use mysql_num_rows too but I still get : bWarning/b: Supplied argument is not a valid MySQL result resource in bg://web/herkild/html/loginout.php/b on line

Re: [PHP-DB] How do I test on number of fields ?

2001-03-19 Thread Terry Romine
check where you are getting "$mysql_link" that is the problem I usually associate with the error you report. if $mysql_link is undefined, MySQL can't perform the query. Terry On Tuesday, March 20, 2001, at 12:06 AM, Toke Herkild wrote: $mysql_result = mysql_query($query,