Notice: Undefined index: id in C:\wamp\www\shoes\menu2prueba.php on line 148
I am getting this error can any body help
I am getting this error can any body help
PHP:
$query = "SELECT * FROM menu WHERE id IN ( 1, 2, 3, 4)";
// execute query
$result = mysql_query($query) or die ("Error in query: $query. ".mysql_error());
// see if any rows were returned
if (mysql_num_rows($result) > 0) {
// yes
// print them one after another
echo '<table class="felo">';
echo "<tr>";
echo'<td width="800" height="100%" bgcolor="#FFFFFF" class="quelo">';
while($row3 = mysql_fetch_row($result)) {
echo '
<table class="trelo" >
<tr>
<td width="152" rowspan="2" class="cebo">
<h3 align="center"><a href="itemdetails.php?id=',$row3['id'],'"> ',$row3[3],'</a> </h3><p> // line 148
<a href="itemdetails.php?id[]=1&id[]=2&id[]=3&id[]=4"><img src="',$row3[0],'" width="140" height="160" alt="product" style=" border-color:#FF6600; border:thin; border-style:solid;"/></a></p></td>
<td class="pricegif"><img src="../../../Users/joe/AppData/Local/images/price.gif" alt="we" width="53" height="21" hspace="10" align="middle" /></td>
<td class="price"><a href="#">$',$row3[4],'</a></td>
echo "</td>";
echo"</tr>";
echo"</table>";








