Results 1 to 6 of 6

Thread: conflicting instructions
      
   

  1. #1
    barronj is offline Sergeant
    Join Date
    Mar 2007
    Posts
    33

    Default conflicting instructions

    I looked through the threads already posted, but didn't see anything that was addressing my concern, so my appologies in advance if this has already been covered.

    When watching the tutorial for adding the php code to the "thank you" page, it shows to add the code "between Head tag"

    When you scroll down the page to get the php, it shows to add it "beginning of body"

    Does it matter? If it does, which one is correct?

    Also, I would think that I should be adding this php code to both my "contact" page as well as the " thank you" page, but adding code to "thank you" page is the only one addressed.

    Am I overlooking another part?

    EDIT: Also, when I title the pages in "page properties" (NOT naming the page) are both "contact" & "thank you" pages action pages?

    TIA!

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

    Default Re: conflicting instructions

    barronj-
    Greetings. Can you post a link to the instructions you are refering to. There are many tutorials, instructions regarding the php scripting and forms.

    Andy
    PHP- is a blast!

  3. #3
    barronj is offline Sergeant
    Join Date
    Mar 2007
    Posts
    33

    Default Re: conflicting instructions

    If there is more than 1 video (albeit 2 part) tutorial addressing how to set up "contact" & "thank you" pages, then perhaps I could answer my own questions by looking further into the tutorials.

    That being said, here's a link to what I'm curios about:

    Forms Tutorial #1

    In the video, it shows putting the php in the

    http://www.vodahost.com/images/ft4.JPG

    "between head tag", and in the pic linked above, it shows putting the php in the "beginning of body"

    Does that help any?

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: conflicting instructions

    You can place the script wherever you like, it will work the same. The best place would be to place it in the "Start of Page", as, in this way, if you decide to replace it in the future with a script that also performs error validation, you will have no html output before redirecting to the error page.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    barronj is offline Sergeant
    Join Date
    Mar 2007
    Posts
    33

    Default Re: conflicting instructions

    Quote Originally Posted by barronj
    EDIT: Also, when I title the pages in "page properties" (NOT naming the page) are both "contact" & "thank you" pages action pages?
    Is it just the "thank you" page that gets the PHP code & "action" in the title?

    Thanks again!

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: conflicting instructions

    The form can be. i.e. titled "Contact us page" the other can be titled "Thnak you Page".

    I don't understand what you mean "are both action pages". Usually we simply call a page "action" page to indicate that in this page there is the script that will process the form which has called it.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


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