Jump to content

Select problem


slipperyfish

Recommended Posts

Hey guys, having real problems with my login script..

$sql = "SELECT * FROM bu_users WHERE username='$usernameIn' AND password='$passwordIn'";
$result = mysql_query($sql) or die("Could not Query.");
$result2 = mysql_fetch_array($result);

i cant see problems with my MySQL, but it just keeps saying "Could not Query."... any suggestions?
Link to comment
https://forums.phpfreaks.com/topic/3382-select-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.