/* mysql504.hostexcellence.com */
$db="MikeVV_Test01";
$link = mysql_connect('mysql504.hostexcellence.com', 'MikeVV_mike', 'Zxcv8765');
if (! $link)
die(mysql_error());
mysql_select_db($db , $link)
or die("Couldn't open Table01 ".mysql_error());
$result = mysql_query( "SELECT * FROM Table01" )
or die("SELECT Error: ".mysql_error());
$num_rows = mysql_num_rows($result);
print "There are $num_rows records.";
print "
\n";
while ($get_info = mysql_fetch_row($result)){
print "\n";
foreach ($get_info as $field)
print "\t$field | \n";
print "
\n";
}
print "
\n";
mysql_close($link);
?>
AnalysisChamp.com home