Placing PHP in HTML Box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • TimeIsMoney
    Private First Class

    • Aug 2006
    • 5

    Placing PHP in HTML Box

    Hi,

    I came accross "PHP Mailto Form" posted by Andy128. http://www.netisopen.com/computer/TF001/phpmailto.html

    I have spent a bit of time trying to get the form to work with validation, field lenght, etc.,but came to a dead end.

    After I had pasted PHP code into HTML box and conducted a prieview in BV I did not get the expected result as indicated in the tutorial. Instead the PHP code is displayed on the previewed page (80% of the code is displayed -the top bit of the code is cut off).

    Any ideas from you good people.

    Thanks
    Noel
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Placing PHP in HTML Box

    PHP code is server parsed, so it will not work until the page is published. In preview it will result as text
    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!

    Comment

    • TimeIsMoney
      Private First Class

      • Aug 2006
      • 5

      #3
      Re: Placing PHP in HTML Box

      Hi Navaldesign,

      So thats thats it! I thought I must be doing something wrong.

      Thanks for your help. It's much appreciated.

      Noel

      Comment

      Working...
      X