$num fields in line $row:

\n"; $row++; for ($c=0; $c < $num; c++;) { echo $dbdata[$c] . "
\n"; } } } fclose($dbfile); ?>