PHP script - unexpected '}
<p>This script is displaying the data I requested (Id,Dsc,School) but im getting error on line 20. </p>

<pre><code>{
  if ($row['suspended']==1){
</code></pre>

<p>Parse error: syntax error, unexpected '}' in C:\wamp\www\unit5\scripts\meminclude.php on line 20</p>

<pre><code>   &lt;?php
 include("dbconnect1.php");

$query = "SELECT id,dsc, school FROM module WHERE dsc LIKE '%%%s%%'";

$link = @ mysql_query($query);
  if (!$link) {

header("location:../account/account.master.php?page=invalid&amp;errorcode=1");
   die();
 }

$i=0;
 $status="";

while ($row = mysql_fetch_array($link, MYSQL_ASSOC))


{
  if ($row['suspended']==1){


$status="SUS";
  }
   echo "

&lt;tr id='row$i' class='trows'&gt;".
         "
&lt;td id='id$i'&gt;".$row['id']."&lt;/td&gt;".
         "
&lt;td id='dsc$i'&gt;".$row['dsc']."&lt;/td&gt;".
         "
&lt;td id='school$i'&gt;".$row['school']."&lt;/td&gt;".
         "
&lt;/td&gt;".
         "
&lt;td&gt;&lt;input type='radio' name='whome' id='showMe$i' onclick='showMem($i)' /&gt;&lt;/td&gt;
";
         if ($status=='SUS'){
          echo "
&lt;td&gt;&lt;input type='radio' name='suspend' checked='checked' disabled='disabled' /&gt;&lt;/td&gt;
";
         } else {
          echo "
&lt;td&gt;&lt;input type='radio' name='suspend' id='suspend$i' onclick='suspendMem($i)' /&gt;&lt;/td&gt;
";
         }
         echo "
&lt;td&gt;&lt;input type='radio' name='delete' id='delete$i' onclick='deleteMe($i)' /&gt;&lt;/td&gt;
".
         "
&lt;td id='status$i'&gt;".$status."&lt;/td&gt;&lt;/tr&gt;";
  $i++;
  $status="";
 }
?&gt;
</code></pre>

<p>The script is referenced here:</p>

<pre><code>    &lt;script type="text/javascript"&gt;
     $(document).ready(function() {
           var numrecs=$(".trows").length;
           var me= $('#th1').html()+" - "+(numrecs)+" Records in Table.";
           $('#th1').html(me);
           RiVm=numrecs;
      });
     &lt;/script&gt;
     &lt;link rel="stylesheet" href="../css/results.css" type="text/css" /&gt; 
     &lt;div id="appleft"&gt;
         &lt;form id="myapprovelist" method="post"&gt; 
         &lt;fieldset style="border:none"&gt;
         &lt;table id="myTable"&gt; 
          &lt;tr&gt;&lt;th id="th1" colspan="10"&gt;Active Membership List&lt;/th&gt;&lt;/tr&gt;
          &lt;tr class="red"&gt; 
           &lt;th&gt;ID&lt;/th&gt;
           &lt;th&gt;DSC&lt;/th&gt;
           &lt;th&gt;School&lt;/th&gt;
           &lt;/tr&gt;
          &lt;?php include("../scripts/meminclude.php")?&gt;  
         &lt;/table&gt; 
        &lt;/fieldset&gt;
       &lt;/form&gt;
      &lt;/div&gt;
      &lt;div id="appright"&gt;
       &lt;img id="theBroon" src="" alt="" /&gt;&lt;br /&gt;
       &lt;span id="myBroon"&gt;&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style="clear:both"&gt;    
    &lt;/div&gt;
</code></pre>
