Yeah, I know. Wrong forum, but I need the help right now, not next week.
I have this code:
It prints out ever column value twice. My brains fried and I can't figure it out. It's probably something stupid.
I have this code:
$result = mysql_query ($query)
while ($line = mysql_fetch_array($result)) {
print "\t<tr>\n";
while(list($col_name, $col_value) = each($line)) {
print "\t\t<td>$col_value</td>\n";
}
It prints out ever column value twice. My brains fried and I can't figure it out. It's probably something stupid.