-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathvehiclestorebook.php
More file actions
55 lines (50 loc) · 1.89 KB
/
Copy pathvehiclestorebook.php
File metadata and controls
55 lines (50 loc) · 1.89 KB
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
48
49
50
51
52
53
54
55
<?php
include("header.php");
include("sidebar.php");
include("dbconnection.php");
$dt1 = date("Y");
$dt2 = date("m");
$sql = mysql_query("select * from vehiclestore where vehicleid=$_GET[vahicleid]");
$row = mysql_fetch_array($sql);
?>
<div id="main">
<h3>Vehicle store</h3>
<form name="form1" method="post" action="vehiclestorebookpaid.php">
<input type="hidden" name="vahicleid" value="<?= $row['vehicleid']; ?>" /> <input type="hidden" name="vehprice" value="<?= $row['estprice']; ?>" />
<table width="538" border="1">
<tr>
<td width="268" colspan="2">
<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 height="47" colspan="2">Other Information</td>
<td><p><?= $row['description']; ?></p></td>
</tr>
<tr>
<td colspan="3"><strong>Estimated price: Rs.<?= $row['estprice']; ?></strong></td>
</tr>
<tr>
<td><strong>Comments</strong></td>
<td colspan="2"><label for="comments"></label>
<textarea name="comments" id="comments" cols="45" rows="5"></textarea></td>
</tr>
<tr>
<td colspan="2"> </td>
<td><strong><input type="submit" name="submit" value="Submit" /><?php // echo"<a href='vehiclestorebookpaid1.php?vahicleidnum=$_GET[vahicleid]'>Pay now>></a></strong></td>"; ?>
</strong></td> </tr>
</table>
</form>
</div>
<!-- wrap ends here -->
</div>
<?php
include("footer.php");
?>