I'm having a bit of trouble following your code, but I do see something that could be making it go wrong.
First line should be:
while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)) {
Notice that it ends with a bracket ( { ) instead of a semicolon. If you just do the semicolon, it will end the while loop right there, and then only execute the stuff below it once.
Also, a couple suggestions:
1) Use the
tag instead of the [code] tag, it makes the PHP look all pretty. Not to mention it's easier to read.
2) You may want to learn how to use [URL=http://www.php.net/echo]echo[/URL] or [URL=http://www.php.net/print]print[/URL]. You don't have to use the <? ?> tags every time you want to output something, that's just a waste of time and it makes your code more confusing.
3) Not sure why you need 50 columns, but there's probably a much better way to do it.