Wednesday, October 6, 2010

PHP program to read a table from MYSQL?

\n";
echo"
student No
Student Name
Student fee
";

while($row = mysql_fetch_row($resultset)){
echo "\n";

foreach($row as $val){
echo "$val\n";
}
echo "\n";
}
echo "";

mysql_select_db($database_name);
mysql_close();
?>

No comments:

Post a Comment