Can anyone help, I am pretty new to this...
I connect to the server but this will not bring up the records in my database.
<html>
<body>
<?php
$db = mysql_connect("localhost", "mypcguy2_mypcguy", "ellesse1");
if (!$db) {
die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully';
mssql_select_db("passportforpets",$db);
$result = mysql_query("SELECT * FROM contacts");
printf("First Name: %s<br>\n", mysql_result($result,0,"pkContactID"));
printf("Last Name: %s<br>\n", mysql_result($result,0,"name"));
?>
</body>
</html>