-
Notifications
You must be signed in to change notification settings - Fork 0
/
fuzzy insert1.php
110 lines (61 loc) · 1.79 KB
/
fuzzy insert1.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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
$servername="localhost";
$username="root";
$password="";
$dbname="POLICE";
$conn=new mysqli($servername,$username,$password,$dbname);
if($conn->connect_error)
{
die("Connection failed: ".$conn->connect_error);
}
//insert data into student
$sql=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Alipore');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Sarsuna');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Hastings');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Maidan');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Cossipore');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Chitpur');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('North Port');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Manicktala');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Ultadanga');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Beliaghata');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Phoolbagan');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Narkeldanga');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Patuli Women');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Rabindra Sarobar');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Amherst Street Women');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Tangra');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Beniapukur');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Ballygunge');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Gariahat');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('South Port');";
$sql.=" INSERT INTO Fuzzy ( PSNAME)
VALUES ('Tala');";
if ($conn->multi_query($sql)===TRUE)
{
echo" Data inserted successfully";
}
else
{
echo"Error :". $sql . "<br>" . $conn->error;
}