include("dbinfo.inc.php"); mysql_connect("localhost",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM contacts"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "
Name | Phone | Mobile | Fax | Website | |
---|---|---|---|---|---|
echo "$first $last"; ?> | echo "$phone"; ?> | echo "$mobile"; ?> | echo "$fax"; ?> | ">Website |