Big problem, the code below is returning an error (unexpected else)

I do not know what i have done wrong?

This is the page i am getting the error on :S

PHP Code:
<?php
    $db 
mysql_connect("***""***""***");
    
    
mysql_select_db("***",$db);
    
    
$result mysql_query("SELECT * FROM meltdown_download Where category='programs'",$db);
    

    
    while (
$myrow mysql_fetch_row($result)) {
    

        
$imgQuery mysql_query("SELECT * FROM meltdown_images Where download_id='" $myrow[0] . "' LIMIT 1",$db);

        
$num_rows mysql_num_rows($imgQuery);

             if (!
$num_rows==0);
            
                echo 
$imgQuery[1];
            
            else 
            
                echo(
"<table class=\"content_main\" cellspacing=\"0\" cellpadding=\"0\" >\n");
                echo(
"  <tr>\n");
                echo(
"    <td class=\"content_tl\"></td>\n");
                echo(
"    <td class=\"content_t\">" $myrow[2] . "</td>\n");
                echo(
"    <td class=\"content_tr\"></td>\n");
                echo(
"  </tr>\n");
                echo(
"   <tr>\n");
                echo(
"    <td class=\"content_stl\"></td>\n");
                echo(
"    <td class=\"content_stm\"></td>\n");
                echo(
"    <td class=\"content_str\"></td>\n");
                echo(
"  </tr>\n");
                echo(
"  <tr bgcolor=\"#FFFFFF\">\n");
                echo(
"    <td class=\"content_l\"></td>\n");
                echo(
"    <td class=\"content_m\">" $myrow[3] . "</td>\n");
                echo(
"    <td class=\"content_r\"></td>\n");
                echo(
"  </tr>\n");
                echo(
"  <tr>\n");
                echo(
"    <td class=\"content_sbl\"></td>\n");
                echo(
"    <td class=\"content_sbm\"></td>\n");
                echo(
"    <td class=\"content_sbr\"></td>\n");
                echo(
"  </tr>\n");
                echo(
"  <tr>\n");
                echo(
"    <td class=\"content_bl\"></td>\n");
                echo(
"    <td class=\"content_b\"></td>\n");
                echo(
"    <td class=\"content_br\"></td>\n");
                echo(
"  </tr>\n");
                echo(
"</table>\n");
                echo(
"<br>\n");
            
        
    }
    
?>