-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrahul.php
50 lines (31 loc) · 1.13 KB
/
rahul.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
<html>
<body background="bg1.jpg">
<table align="center" border="1px" style="width:1300px; line-height:40px;">
<tr>
<th colspan="10"><h2>STUDENT IDEAS</h2></th>
</tr>
<t>
<th>NAME</th>
<th>IDEA STATEMENT</th>
<th>IDEA KEYWORDS</th>
<th>IDEA SOLUTION</th>
</t>
<?php
$con= mysqli_connect('localhost','root','password')or die("not connected");
mysqli_select_db($con,'CSR_DB')or die("no db found");
$result = mysqli_query($con,"select * from `company_event`");
?>
<?php
while($rows=mysqli_fetch_assoc($result))
{
?>
<tr>
<td><b><?php echo $rows['Org_name']; ?></td>
<td><b><?php echo $rows['even_name']; ?></td>
<td><b><?php echo $rows['Edate']; ?></td>
<td><b><?php echo $rows['location']; ?></td>
<td><b><?php echo $rows['Email']; ?></td>
</tr>
<?php
}
?>