hi Friends....

i am trying to retrieve data from table by using check box values. but while running that program am getting tese following errors please let me know where i did the mistake!!!!!!
here is my code
<html>
<?php
if(isset($_POST["refine1"]))
{
$hyd=$_POST["hyd"];
$bnglr=$_POST["bnglr"];
$chni=$_POST["chni"];
$pne=$_POST["pne"];
$mbi=$_POST["mbi"];
$dli=$_POST["dli"];
$j=1;
$sql="select * from jobs where location=$hyd OR location=$bnglr OR location=$chni OR location=$pne OR location=$mbi OR location=$dli";
mysql_select_db("goget");
$rtvl=mysql_query($sql);
echo "<form method='post'><table width='600px'>";
while ($row=mysql_fetch_array($rtvl))
{
echo "<tr><td><input type='checkbox' name='r".$j."' value='$row[1]'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href='just.php?id=".$row[2]."' style='color:blue' name='".$j."' target='_blank'>".$row['jobtitle']."</a>".$row['date']."</td></tr><tr><td>".$row['companyname']."</td></tr>
<tr><td>".$row['jobdiscription']."</td></tr><tr><td></td></tr><tr><td></td></tr>";
$j++;
}

echo "</table></form>";
}
?>
<body>
<form method="post"><table>
<tr><td><b>Location</b></td></tr>
<tr><td><input type="checkbox" name="hyd" value="hyderabad"/>Hyderabad</td></tr>
<tr><td><input type="checkbox" name="bnglr" value="bangalore"/>Bangalore</td></tr>
<tr><td><input type="checkbox" name="chni" value="chennai"/>Chennai</td></tr>
<tr><td><input type="checkbox" name="pne" value="pune"/>Pune</td></tr>
<tr><td><input type="checkbox" name="mbi" value="mumbai"/>Mumbai</td></tr>
<tr><td><input type="checkbox" name="dli" value="delhi"/>Delhi</td></tr>
<tr><td align="center"><input type="submit" name="refine1" value="Refine" /></td></tr>
</table></form>
</body>
</html>