In the PHP mySQL missing manual on page 38 the code that is your first program returns this error:
Hello there. So I hear you're learning to be a PHP programmer! Why don't you type in your name for me:
Warning: fgets() expects parameter 1 to be resource, string given in /Applications/XAMPP/xamppfiles/htdocs/phpmysqlmm/sayhello.php on line 5
Thanks, , it's really nice to meet you.
Regardless of whether I type the code in manually, or copy and paste it from the included files...am I missing something?
Help get this topic noticed by sharing it on Twitter, Facebook, or email.
Ok....the dummy of the day award goes to ME! YAY ME!
I don't know how to delete a post here, so I shall just say that had I read a few more pages I would have understood that the code would not work from the web...and that I needed to run from the command line....sigh...