Results 1 to 6 of 6

Thread: Form Error
      
   

  1. #1
    Karen Gold is offline Sergeant
    Join Date
    Apr 2008
    Location
    Cape Town, South Africa
    Posts
    24

    Default 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][/SIGPIC]
    Karen

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

    Default 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!

  3. #3
    Karen Gold is offline Sergeant
    Join Date
    Apr 2008
    Location
    Cape Town, South Africa
    Posts
    24

    Default Re: Form Error

    Where would I find the php code?

    Cheers
    [SIGPIC][/SIGPIC]
    Karen

  4. #4
    Karen Gold is offline Sergeant
    Join Date
    Apr 2008
    Location
    Cape Town, South Africa
    Posts
    24

    Default 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][/SIGPIC]
    Karen

  5. #5
    Karen Gold is offline Sergeant
    Join Date
    Apr 2008
    Location
    Cape Town, South Africa
    Posts
    24

    Default 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][/SIGPIC]
    Karen

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

    Default 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!


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