$host="mysql153.secureserver.net";
$uname="rntsoft";
$pass="password";
$database="rntsoft";
$tablename="Employee";
$connection= mysql_connect ($host, $uname, $pass) or die ("
Database connection failed!
");
$result=mysql_select_db ($database) or die ("
Database could not be selected
");
$query = "SELECT * from Employee";
$result = mysql_query ($query);
echo "";
echo " echo " ID \n";
echo " First Name \n";
echo " Last Name \n";
echo " \n";
while ($row=mysql_fetch_row ($result))
{
echo " \n";
echo " $row[0] \n";
echo " $row[1] \n";
echo " $row[2] \n";
echo " \n";
}
echo "
\n";
?>