-
Notifications
You must be signed in to change notification settings - Fork 9
/
sparepartsmore.php
47 lines (40 loc) · 1.31 KB
/
sparepartsmore.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
<?php
include("header.php");
include("sidebar.php");
include("dbconnection.php");
$sql = mysql_query("select * from vehiclestore where vehicleid=$_GET[vahicleid]");
$row = mysql_fetch_array($sql);
?>
<div id="main">
<h3>Vehicle store</h3>
<table width="538" border="1">
<tr>
<td width="268">
<p><img src="upload/<?= $row['images']; ?>" width="208" height="130" align="left" /><br />
<br />
</p></td>
<td width="246"><p><strong>Vehicle Name:</strong> <?= $row['vehname']; ?><br />
<strong>Model:</strong> <?= $row['model']; ?> <br />
<strong> Brand:</strong> <?= $row['brand']; ?><br />
<br />
<br />
</p></td>
</tr>
<tr>
<td>Other Information</td>
<td><p><?= $row['description']; ?></p>
</td>
</tr>
<tr>
<td colspan="2"><strong>Estimated price: Rs.<?= $row['estprice']; ?></strong></td>
</tr>
<tr>
<td colspan="2" align="right"><strong><?php echo"<a href='vehiclestorebook.php?vahicleid=$row[vehicleid]'>Book Vehicle Now>></a></strong></td>"; ?>
</tr>
</table>
</div>
<!-- wrap ends here -->
</div>
<?php
include("footer.php");
?>