Adding the MYSQL_ASSOC? Afraid I did, and it still broke. I also noticed that I forgot the "mysql_query" part of that line... but it still doesn't work. The code is now:
$test = mysql_query("SELECT * FROM login WHERE user==$user, pass==$pass");
while ($myrow = mysql_fetch_array($test, MYSQL_ASSOC)) {
printf("%s,%s,%s",$myrow['user'],$myrow['pass'],$myrow['logged']);
}
EDIT: Ohhh... except I notice something else now... let's try this....
EDIT AGAIN: Crap. Nope. Changed the code to this, and still didn't work:
$test = mysql_query("SELECT * FROM login WHERE user==$user, pass==$pass",$db);
And by the way... changing the $POST lines to $GET lines takes away the errors, but instead I get no output - just a blank page. Sheesh.