-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodeldetails.php
More file actions
64 lines (47 loc) · 1.16 KB
/
modeldetails.php
File metadata and controls
64 lines (47 loc) · 1.16 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
56
57
58
59
60
61
62
63
64
<?php
session_start();
include('header.php');
include_once("db_connect.php");
if (!empty($_GET)){
$aID = (int) $_GET['id'];
}
$result = mysqli_query($conn, "SELECT * FROM model WHERE model_id = '" . $aID. "' ");
$row = mysqli_fetch_array($result);
$model_id = $row['model_id'];
$model_number = $row['model_number'];
$model_name = $row['model_name'];
$category = $row['category_type'];
$status = $row['model_status'];
?>
<head>
<link rel="stylesheet" href="css/style.css">
</head>
<div class="main-page">
<div class="form">
<fieldset>
<legend>Model Information</legend>
<table align=left>
<tr>
<td>Model ID:</td>
<td><?php echo $model_id ?></td>
</tr>
<tr>
<td>Number Number:</td>
<td><?php echo $model_number ?></td>
</tr>
<tr>
<td>Model Name:</td>
<td><?php echo $model_name ?></td>
</tr>
<tr>
<td>Model Category:</td>
<td><?php echo $category ?></td>
</tr>
<tr>
<td>Model Status:</td>
<td><?php echo $status ?></td>
</tr>
</table>
</fieldset>
<div><div>
</div>