Announcement

Collapse
No announcement yet.

Form Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Form Error

    On my website www.mumiandbubi.co.za/shop.html I have designed a simple form. I have also completed the Thank you page...

    Whenever I submit I get this error message.

    Parse error: syntax error, unexpected '<' in /home/qgqgxnaj/public_html/mumiandbubi.co.za/action.php on line 48

    Not sure what is going on - this website is an add on domain. I have forms on my main domain website and they work and I (think) I have done them the same way.

    Any help - please not too many techny bingo words.

    Cheers
    sigpic
    Karen

  • #2
    Re: Form Error

    Could you copy/paste the php code that you are using here in this thread so we can see.

    Andy
    PHP- is a blast!

    Comment


    • #3
      Re: Form Error

      Where would I find the php code?

      Cheers
      sigpic
      Karen

      Comment


      • #4
        Re: Form Error

        OK - I think this is my php code

        <?PHP
        $mailto = "karengold@telkomsa.net";
        $email = $HTTP_POST_VARS['email'];
        if ($email == "") {
        $email = $mailto;
        }
        $mailsubj = "Shop";
        $mailhead = "From: $email\n";
        reset ($HTTP_POST_VARS);
        $mailbody = "Values submitted from web site form :\n";
        while (list ($key, $val) = each ($HTTP_POST_VARS))
        {
        if ($key!="submit")
        {
        sigpic
        Karen

        Comment


        • #5
          Re: Form Error

          OK - chatting to myself here...

          I checked my php code and I hadn't copied and pasted the entire thing.... re-copied and pasted and it now works.

          Thanks for bringing this to my attention.

          Main issue is that the code is no longer underneath Form Tutorial 1 (well it wasn't yesterday) ... I had to cut and past it off a form in another of my websites and hence did not scroll down far enough....
          sigpic
          Karen

          Comment


          • #6
            Re: Form Error

            You don't need it anymore. The new BV 10 has a built in form processor. Follow the text instructions under the Videp Tutorial and BV will upload the necessary php code automatically for you.
            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

            Working...
            X