Stuck on today.php rendering:Build Your Own Database Driven Site, 4th Ed

Hi, I’m stuck. In Build Your Own Database Driven Site, 4th Ed., I followed along just fine, but when going to localhost/today.php, the page does not render – it just shows the code.

This is on a Mac, OS 10.6 Snow Leopard.

I made the php page in Dreamweaver, the files I had to make changes to (httpd.config and php.ini) were edited in TextWrangler.

I am at a loss as to what to do. Please help!

The good news is that today.php works on the remote server, just not on localhost.

Did you restart the server after making the changes to httpd.config and php.ini

I did not, but I will try that right now. Thank you.

Yowsa!! She works! Thanks, guess I should have thought of that.