forked from cedrickjames/helpdesk-production
-
Notifications
You must be signed in to change notification settings - Fork 1
/
help_desk table.txt
79 lines (45 loc) · 1.26 KB
/
help_desk table.txt
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
id
date_filled
status
ticket_no
request_to
request_category
request_details
reqfrom_date
reqfinish_date
approving_head
approving_head_date
approving_admin
approving_admin_date
approved_finish_date
actual_finish_date
confirm_finish_date
rating_delivery
rating_quality
rating_final
technical_remarks
requestor_remakrs
month
year
attachment
// $itemcode=$row['itemcode'];
if (!empty($requestto && $category ))
//if($itemname!="" OR $descrp!="" OR $usein!="")
{
$sql="INSERT INTO request(date_filled,status,ticket_no,requestor)
VALUES(' $datenow','Open','$jo_no','$user_name',)";
$results = mysqli_query($con,$sql);
?>
<?php
echo "<script>alert('Save') </script>";
echo "<script> location.href='allrequest.php'; </script>";
//exit;
?>
<?php
}
else{
echo "<script>alert('Please complete fields.') </script>";
// allert message!
}
}
?>