Your IP : 216.73.216.40


Current Path : /var/www/html/mmishra/profile1/clubs/
Upload File :
Current File : /var/www/html/mmishra/profile1/clubs/viewau1.php

<html>
<head>
<title>
VIEW
</title>
</head>
<body bgcolor =#cdae95 >
<h1 align ='center'><b> Entries For Audio and Lights Club  </b> </h1>
<?
 include ("pass.php");    
 mysql_pconnect("$host_name","$user_name","$user_pw")
               or die("Unable to connect to SQL server");
	       mysql_select_db("$db_name") or die("Unable to select database");

	       $query = "SELECT COUNT(*) FROM table1";
	       $numguests = mysql_query($query) or die("Select Failed!");
	       $numguest = mysql_fetch_array($numguests);
                $query = "SELECT  * FROM table1 where club='Audio and Lights Club ' ORDER BY sno";
		$table1 = mysql_query($query) or die("Select Failed!");
while ($guest = mysql_fetch_array($table1)) {

	?>   
	      	<table border='1'align='center' width='400'>
		<TR><TD>
	         <b>Name:</b> <? echo $guest['name']; ?>
		</TD>
		
		
		<TD>
		<b>Semester:</b> <? echo $guest['sem'];?>
		</TD>
                
		</tr>
		
                 </table>  
		 <br>
		<? }
       	       ?>

</body>
</html>