-
Notifications
You must be signed in to change notification settings - Fork 0
/
JacketM.php
47 lines (34 loc) · 1.12 KB
/
JacketM.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<html>
<body>
<div><br/><center><h2><font face="Lucida Handwriting" size="+1" color="#00CCFF">MEN'S JACKET</font></h2></center></div>
<div style="width:100%;float:left" >
<?php
include("config.php");
$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>
</body>
</html>