Hi, im picking up PHP for the first time in 3 years and am having trouble with the basics!
To test it out im trying to run this simple query:
<?php $link = mysql_connect("localhost","root",""); mysql_select_db("newbie", $link); $result = mysql_query("select * from place", $link); $num_rows = mysql_num_rows($result); echo "$num_rows Rows\n"; ?>I get a blank page. None of my old projects appear to be connecting to the database either. Wamp server is running and my connection details are correct. What am I missing???