HI,
I need assistance on querying records. I created a table in my database which stores userID and password information. What I'm trying to do is after the user enters the login information from the form, mysql then checks to see if the information enters exists in the table. This is what I have so for;
$conn=mysql_connect("localhost","kjuuu","cea7"
or die("Could not connect " . mysql_error());
print "Connected successfully";
mysql_select_db("mylogin",$conn) or die("Could not select database"
$sql="SELECT userID FROM logins where userID like '$userID'";
I'm stuck after this.
Do you also use my_sql somewhere?
Thanks
Kyle
I need assistance on querying records. I created a table in my database which stores userID and password information. What I'm trying to do is after the user enters the login information from the form, mysql then checks to see if the information enters exists in the table. This is what I have so for;
$conn=mysql_connect("localhost","kjuuu","cea7"
or die("Could not connect " . mysql_error());
print "Connected successfully";
mysql_select_db("mylogin",$conn) or die("Could not select database"
$sql="SELECT userID FROM logins where userID like '$userID'";
I'm stuck after this.
Do you also use my_sql somewhere?
Thanks
Kyle