## parsing error

PHP Code:
``` <? \$connection = mysql_connect("myhost", "user", "") or die("Couldn't connect to server."); \$db = mysql_select_db("mydb", \$connection) or die("Couldn't select database.");                                    // could do all on one page by setting !isset to \$cat_id \$sql*=*"SELECT***FROM*category*WHERE*parent_id IS NULL"; \$result*=*mysql_query(\$sql) or die ("cannot execute query"); while*(*\$row*=*mysql_fetch_array(\$result)*{ echo ("<html><head></head><body><p><a href=\"disp_subcats?parent_id=".\$row['cat_id']."\">".\$row['name']."</a></p>"); } include("footer.php"); ?> ```

getting an error on line 5 (the \$sql bit). Can anyone see where my ignorance lies? (don't laugh )