where is mistake ?
<?php
/**
* @author MESMERiZE
* @copyright 2011
*/
//connection file
include "connection.php";
$query ="select * from resultweb";
$q_result=mysql_query($query,$link) or die(mysql_error());
if(mysql_num_rows($q_result)<=0){
die("No record found");
}
//htaml table starts
Print "<table border=1><tr>
<th>name</th>
<th>student name</th>
<th>name</th></tr>";
while($Row = mysql_fetch_assoc($q_result)){
print "<tr><td>".$Row['name'] ."</td>
<td>" .$row['code'] ."</td>
<td>" .$row['name'] ."</td></tr>";
}
print "</table>";
?>