i am building a website with A.M.P and currently stuck on the login system ,using mysql database and cannot retrieve data from it using POST method
and mysql query is
'SELECT user_fname FROM user WHERE user_idname="'.$_POST['name'].'" && user_pass ="'.$_POST['pass'].'"
but the database doesnt return anything in mysql_num_rows($result)
PLEASE HELP