Jump to content
Larry Ullman's Book Forums

bklyn08

Members
  • Posts

    1
  • Joined

  • Last visited

bklyn08's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I may be able to help with this. When I tried running index.php at the end of chapter 3, I also received a blank page, without errors or anything. Inspecting the source code showed that none of the php ran: <html> <body> </body> </html> Initially I tried to enable error messaging, but that wasn't the problem. The real error (for me) was a syntax error in my header.html file: I mistakenly typed $foreach instead of foreach. Instead of letting me know an error occurred, the entire script simply failed to run. I suggest that you try and find out which file you might have an error in (by commenting out different portions of different files), and then very closely inspect it for any missing brackets, semi-colons, and other syntax errors. Cheers! Greg PS: re: your post #11 You say the script doesn't show any results. Here's what I suggest you do. Create a file called '.htaccess' and place it in your webroot directory. In that file, paste this code: AddType application/x-httpd-php .html .htm This is what I did when my footer.html did not run the php scripts. Let me know if this works!
×
×
  • Create New...