I think the problem is this line:
if (mysql_num_rows($res) > 0) {
if i remove " { " it the shows the page but with an error:
Warning: mysql_num_rows() expects parameter 1 to be resource, null given in /webroot/b/t/...../.......com/www/index.php on line 29
Help please.