Hi,
I just tried to select a table by using php but it won't select the database table. I did checked my script, it must work!
so you can see my table name is users just like it says in phpmyadmin. Now I'm thinking am I wrong or is there something wrong in phpmyadmin.
Greetz,
- Fleuv
I just tried to select a table by using php but it won't select the database table. I did checked my script, it must work!
Code:
$con = mysql_connect("$host", "$user", "$pass");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
// here it stops
mysql_select_db("users", $con)or die("Couldn't select database table.");
.....
mysql_close($con);
so you can see my table name is users just like it says in phpmyadmin. Now I'm thinking am I wrong or is there something wrong in phpmyadmin.
Greetz,
- Fleuv