Re: Not sure about this...

From: Date: Fri, 26 Jul 2002 15:55:53 +0000
Subject: Re: Not sure about this...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-20822@lists.php.net to get a copy of this message
What database? What version? What about the code you are using to get the column count? Chip On Fri, 26 Jul 2002, Jas wrote: > 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 > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.db (#20822) next »