Hi I have this script to show items in the database. but it is not showing the results. Pls can anyone help?
<html>
<div><br/><center><h2><font face="Lucida Handwriting" size="+1" color="#00CCFF">Casual Shirts</font></h2></center></div>
<div style="width:100%;float:left" >
<?php
include("config.php");
$dress=$_REQUEST['dress'];
$catg=$_REQUEST['catg'];
$subcatg=$_REQUEST['subcatg'];
$sel=mysqli_query($conn,"select * from items where catg='$catg' and subcatg='$subcatg'");
echo"<form method='post'><table border='0' align='center'><tr>";
$n=1;
while($arr=mysqli_fetch_array($sel))
{
$i=$arr['itemno'];
if($n%4==0)
{
echo "<tr>";
}
echo "
<td height='280' width='240' align='center'><img src='admin/itempics/$i.jpg' height='200' width='200'><br/>
<b>Item No:</b>".$arr['itemno'].
"<br><b>Price:</b>Rs ".$arr['price'].
"<br><b>Description:</b>".$arr['desc']."
<br><br><a href='index.php?con=12 & itemno=$i'><img src='images/MetalPlakDa5new.gif' width='70' height='20'/></a>
<a href='index.php?con=14 & itemno=$i'><img src='images/view7.jpg' width='70' height='20'/></a>
</td>";
$n++;
}
echo "</tr></table>
</form>";
?>
<div><br>
<marquee behavior="scroll" dir="ltr" align="absbottom"><img src="usepics/logo5.jpg" width="100" height="70"/>
<img src="usepics/logo11.jpg" width="100" height="70"/>
<img src="usepics/logo12.jpg" width="100" height="70"/><img src="usepics/logo8.jpg" width="100" height="70"/><img src="usepics/logo6.jpg" width="100" height="70"/>
<img src="usepics/logo4.jpg" width="100" height="70"/>
<img src="usepics/logo3.jpg" width="100" height="70"/>
<img src="usepics/logo13.jpg" width="100" height="70"/> <img src="usepics/logo15.jpg" width="100" height="70"/>
<img src="usepics/logo1.jpg" width="100" height="70"/> <img src="usepics/logo2.jpg" width="100" height="70"/><img src="usepics/logo14.jpg" width="100" height="70"/><img src="usepics/logo9.jpg" width="100" height="70"/>
</marquee>
</div>
</div>
</body>
</html>