-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup
More file actions
37 lines (31 loc) · 1.04 KB
/
setup
File metadata and controls
37 lines (31 loc) · 1.04 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
now it came how to run this on your device download the codes from here then go to phpmyadmin and then paste the following query there.
1. first create a database name "list" and then paste the following query:
CREATE TABLE `competition` (
`user` varchar(50) NOT NULL,
`event` varchar(50) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `test` (
`id` int(11) NOT NULL,
`user` varchar(50) NOT NULL,
`subject` varchar(20) NOT NULL,
`chapter` varchar(20) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `time` (
`name` varchar(50) NOT NULL,
`start` time NOT NULL,
`end` time NOT NULL,
`work` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `user` (
`name` varchar(20) NOT NULL,
`email` varchar(50) NOT NULL,
`pass` varchar(20) NOT NULL,
`sex` text NOT NULL,
`image` text NOT NULL,
`mobile` varchar(10) NOT NULL,
`college` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;