Results 1 to 4 of 4

Thread: new form
      
   

  1. #1
    mrmagoo144's Avatar
    mrmagoo144 is offline Brigadier General
    Join Date
    Feb 2007
    Posts
    1,369

    Default new form

    i have an add on website called www.chessinstructor.org. I know I added on correctly and changed the nameserver correctly as the site is live. On my index page i have a simple form buy am getting an error message when i fill out the form. I am also getting an error message when i type in www.chessinstrutor.org/thankyou.html
    what am I doing wrong again.
    thanks, mrmagoo144

  2. #2
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: new form

    Magoo..

    If you are following the tutorial by Naval, the THANK YOU should be named action.php and the page properties set to action. It can still say THANK YOU on the page, but you have to run the script on a php. Your form has to be set to run this action.php as well.

    Hope it helps

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    taranoyes's Avatar
    taranoyes is offline Corporal
    Join Date
    Oct 2007
    Posts
    16

    Default Re: new form

    My website is doing the same thing. When I go in and hit the submit button it tells me there is an error 404. action/php not found. I followed the tutorial step by step. PLease help
    carrolltonac.com

  4. #4
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: new form

    mrmagoo-

    As Karen has stated- pay close attention to the tutorial and the naming of the pages. The page that displays your Thank You message is actually named action.php and that is where you will place the php code.

    You have the form's action named correctly. Take the page that you named thankyou.php and change it to action.php and it should work then.

    taranoyes-
    Your form is now correctly built- good job. No it is important to complete the page that will contain your Thank You message. Create that page and place the php code in it as instructed. Then save it as action.php
    Then publish to the server.
    That should do it.

    Always make sure your spelling is correct and matches exactly. Another common mistake is to forget to set the page property to php from html

    Cheers-
    Andy
    PHP- is a blast!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49