[PHP-DB] resource id #2, #3, #4......

2001-11-28 Thread Kevin Ruiz
I've come across yet another problem. I have a table set up that houses four things, a person's real name, username, pass, and id. The id is used to join another table which houses that persons contacts. I've been validating the user and pass by comparing the number of rows that the sql

Re: [PHP-DB] resource id #2, #3, #4......

2001-11-28 Thread Jason Wong
On Thursday 29 November 2001 01:29, Kevin Ruiz wrote: I've come across yet another problem. [snip] $ci = select contactid from users where username='$username' and password='$password'; $cir = mysql_query($ci) or die(Couldn't execute); $query = select