update statement getting an error
<p>Parse error: </p>

<pre><code>syntax error, unexpected T_VARIABLE, expecting ',' or ';' in ds.php on line 6
</code></pre>

<p>This is my code</p>

<pre><code>include_once("db_conn.php");
 $del=$_GET['head1'];
     $d=$_GET['msg1'];
     $dl=$_GET['ctdel']
$dl ="y";  

mysql_query("UPDATE  thirdpartycategorymaster SET  delete = '$dl' WHERE  thirdpartycategorymaster.ThirdPartyCategoryID ='$del' ");
mysql_close($conn);
?&gt;
</code></pre>
