php code to Show Records by multi Columns in Rows






Untitled Document



// Connect database.
mysql_connect("localhost","","");
mysql_select_db("tutorial");

// Get data records from table.
$result=mysql_query("select * from name_list order by id asc");
?>


while($row=mysql_fetch_assoc($result)){
?>





} // End loops.
?>















PHP Free Code

Posted in |