while($row==mysql_fetch_array($res));
Remove the ; at the end.
Its $row= and not $row==.
also send me the exact code to fetch a table from a database in a table format in a web page!!!!!
You need to figure that out yourself.. Check the example here.
http://www.w3schools.com/php/php_mysql_select.asp