Not sure about this...

From: Date: Fri, 26 Jul 2002 15:49:28 +0000
Subject: Not sure about this...
Groups: php.db 
Request: Send a blank email to php-db+get-20821@lists.php.net to get a copy of this message
I am recieving an error for the column count... here is the code: $sql = "SELECT * from $db_table WHERE un = \"$u_name\" AND pw = password(\"$p_word\")"; here is the table structure: CREATE TABLE auth_users ( user_id int(11) NOT NULL auto_increment, f_name varchar(255) default NULL, l_name varchar(255) default NULL, email_addy varchar(255) default NULL, un text, pw text, PRIMARY KEY (user_id) ) TYPE=MyISAM; Any help would be great! TIA Jas

« previous php.db (#20821) next »