I have recently started learning PHP/SQL techniques.
I am a complete beginner and have recently been on a 3day 1-2-1 course to learn the basics. However, i am having trouble and hope somone can help.
I am basically just trying to pull information from my database. I have a local server on my PC.
I have typed this code within my HTML document:
$db = mysql_connect("localhost","Administrator","password");
here are the results:
$result = mysql_query("SELECT firstname FROM brian");
I know the database does work, cause by sheer fluke i got some results up earlier. but didn't save!!! doh!!!
Can someone please tell me how to pull the information ffrom my database please.