I'm not far from "Hello World" in PHP, so bear with me.
This is my php section:
<?php
$db = mysql_connect("localhost", "username", "password");
mysql_select_db("yasakusu_myfirstdb",$db);
$result = mysql_query("SELECT * FROM CONTACT",$db);
printf("First Name: %s<br>\n", mysql_result($result,0,"FIRSTNAME"));
?>
I get this error:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /home/yasakusu/public_html/testphp.php on line 18
First Name:
Sorry if this is a dumb question