PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$query = "SELECT * FROM admin WHERE Login = '" . $_POST["fld_username"] . "' AND Pass = '" . $_POST["fld_password"] . "'";
$re = mysql_db_query($db,$query,$cid);
$nu = mysql_num_rows($re);
when i run it on php 4.3 it gives me fowlling error:
any help plz.....
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/maairne/public_html/admin/act_login.php on line 16
-----------
Mannan