-
Notifications
You must be signed in to change notification settings - Fork 2
/
evilUp.php
36 lines (25 loc) · 909 Bytes
/
evilUp.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
<?php
require_once("easyCRUD/easyCRUD.class.php");
require_once("Db.class.php");
$db = new Db();
$evilCode=$_POST['evilCode'];
$evilName=$_POST['evilName'];
$luruTime=$_POST['luruTime'];
$evilTime=$_POST['evilTime'];
$evilType=$_POST['evilType'];
$evilDetail=$_POST['evilDetail'];
//$insert = $db->query("INSERT INTO Persons(Firstname,Age) VALUES(:f,:age)", array("f"=>"Vivek","age"=>"20"));
$inert=$db->query('INSERT INTO
evil(evilCode,evilName,luruTime,evilTime,evilType,evilDetail) VALUES(:evilCode,:evilName,:luruTime,:evilTime,:evilType,:evilDetail)', array(
'evilCode'=>$evilCode,
'evilName'=>$evilName,
'luruTime'=>$luruTime,
'evilTime'=>$evilTime,
'evilType'=>$evilType,
'evilDetail'=>$evilDetail
)
);
//echo "$luruTime <br>";
//echo "$jieseTime <br>";
echo 'sucess';
?>