Hi. I got a one-line brainer, that i really dont understand.
This works perfectly, and returns all information.PHP Code:
$auth = mysql_query("SELECT * FROM iww_users WHERE id='$id'");
However, this doesn't return anything. I've used the exact same code before, so I really have no idea why it wouldn't :SPHP Code:
$auth = mysql_query("SELECT * FROM iww_users WHERE id='$id' AND session='$session'");