I have never had this happen before. The query is very simple by the way.
$q = mysql_query("SELECT * FROM $TABLE");
while($r = mysql_fetch_array($q)) {
echo $r['fieldname'];
}
edit: the first column (row) is skipped. but when I deleted the first column, the second one was ignored.
(SOLVED)
I figured it out. I declared mysql_fetch_array twice.
$q = mysql_query("SELECT * FROM $TABLE");
$r = mysql_fetch_array($q) //over here
while($r = mysql_fetch_array($q)) {
echo $r['fieldname'];
}
I have to be more careful, but thank you very much!