-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselect.php
More file actions
44 lines (40 loc) · 725 Bytes
/
select.php
File metadata and controls
44 lines (40 loc) · 725 Bytes
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
<?php
require 'conn.php';
$query = "select * from customer";
$query6 = "select * from i";
ob_start();
session_start();
if($query_run = mysql_query($query)){
if(mysql_num_rows==NULL){
die();
}
else{
}
}
else{
echo 'Query failed';
}
if($query_run1 = mysql_query($query6)){
if(mysql_num_rows==NULL){
die();
}
}
else{
echo 'Query failed';
}
/*if($query_run = mysql_query($query2)){
if(mysql_num_rows==NULL){
die();
}
else{
while($query_row = mysql_fetch_assoc($query_run)){
$cust_name = $query_row['Customer_Name'];
//$name = $query_row['Name'];
echo '<br>'.$cust_name;
}
}
}
else{
echo 'Query failed';
}*/
?>