Help get this topic noticed by sharing it on Twitter, Facebook, or email.

PHP mySQL code example does not work

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 I missing something?
1 person has
this question