What's the deal with MySQL/PHP for Dummies being crap?

Rob B

New member
I'm trying to learn PHP and MySQL and I was going to use the book MySQL and PHP for dummies. How frustrating. It seems like it's completely wrong or out of date. I didn't think so much would change in a few years. I was starting right out at the basic "Test to see if PHP and MySQL is working" code like:
<?php
echo "php is working!";
?>

and it wouldn't work. The page wouldn't even load. I couldn't figure out what I was doing wrong. I went on a few free php websites which said to use code something like:
<?php
echo 'This is a PHP line';
?>

And that WORKED. It was the " and ' difference. What's the DEAL with that?

PS: Can somebody, please, tell me how to get MySQL working with apache/php on XP? That book has been sending me in the wrong direction. I have Apache running. I have PHP working. I have a MySQL service running that I have root access to. How do I get it to "connect" with PHP/Apache and test that it's working?
 
Back
Top