Jump to content
Larry Ullman's Book Forums

scottdg

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About scottdg

  • Rank
    Newbie
  1. I'll fix the doctype. I am using crimson editor right now.
  2. So where could the problem be then? I read that is usually the meaning of that error but nothing seems to be missing.
  3. "figured it out" was a poor choice of words. I am not really sure what happened but all I had to do was stop the service and restart and it worked
  4. "Parse error: syntax error, unexpected $end in C:\xampp\htdocs\handle_calc.php on line 51" I checked the code from top to bottom 3 times so if there is a problem I am just having a hard time seeing it. Here is the code as I typed it. I appreciate any assistance you could offer. Thanks. <!doctype html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"/> <title&
  5. I forgot to mention it is windows 7 and I am using apache.
  6. As I said in my last post I used http://localhost/filename.php. With feedback.HTML I also tried including the xampp directory and I tried it by xampp/htdocs/filename.php.
  7. Thanks Larry. I noticed that you did stress that so I did try to load it through a URL but I am not sure what address to use.What exactly does http://something mean? I tried using http://localhost/feedback.html just as I would with one of the php files in earlier exercises but it did not work. I even tried variations of that using the xampp directory. I also tried just typing the file path into the URL but I assume that is the same as going to file>open and navigating to the proper directory.
  8. Thanks for the response. I have been able to create and load php files up to this point while doing the exercises. Chapter 3 is using forms so it is feedback.html that I need to load. I will look over the code again but both files look identical to what the book shows.
  9. This is probably a really stupid question but here goes anyway... I am trying to complete the exercise on Page 60 and when I submit the form I get the following result: Thank you, $title $name, for your comments. You stated that you found this example to be $response and added: $comments "; ?> I double checked the php code and everything looks fine. The only thing I can think of is I am not loading the form properly. I am using apache on my machine. The text in step 8 has me thinking I am doing something wrong because it has in parenthesis to load it through a URL (http://so
×
×
  • Create New...