Results 1 to 6 of 6

Thread: dagon php form mailer help

  1. #1
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default dagon php form mailer help

    I'm hoping someone can help me with this:

    I downloaded a PHP form mailer from Dagon Design, customized, and installed it. Everything worked great.

    Earlier this week, I tried to change some of the css (I wanted to add a background image), and after I uploaded the new css file, the main php file stopped working. I get this error: [/code]
    Parse error: syntax error, unexpected T_STRING in /homepages/5/d193019464/htdocs/seascouts/dd-formmailer/ct-formmailer.php on line 68[/code]
    Line 68 is one of the text fields, and as far as I could tell, was properly formatted and hadn't been changed from the original. But, I decided to cut my loses and restore the original css. However, that didn't fix it.

    I have gotten to the point now where I have downloaded a "clean" copy of everything from Dagon Designs and completely rebuilt and replaced everything, but I'm still getting the same error message.

    (I'm also asking Dagon Design for help, but I figured I could ask here, too, in case anyone knew of a fix. Thanks very much.) This page in question is here.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Can you post the code for ct-formmailer.php. I downloaded the original files from Dagon Design and they only have dd-formmailer.php (which works perfectly out of the box when I uploaded to my server).
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    sorry 'bout that. All I changed were the options. (file paths, form fields, email etc.)

    code is too long to post on the forum, so click here (txt file).

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    The issue was that you used single quotes without escaping them. Try the following code:

    http://thetestingsite.net/test/dd/tr...ormmailer.phps

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. The Following User Says Thank You to thetestingsite For This Useful Post:

    traq (06-11-2008)

  6. #5
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    the quotes you're referring to are the ones surrounding the "$form_struct" variable, correct? Is that the only thing you corrected?

    Thanks very much!

  7. #6
    Join Date
    Feb 2009
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Help with Dagon Design's Form Mailer

    Can anyone help me with Dagon Design's Form Mailer. I want use radio buttons to ask a question like "Are you an artist?" "yes" "no". Now, If you click yes, it will re-direct you to a new page. I know how to add an onclick function to standard html, but i don't know how to add it to dagons form mailer. I would like to add in a new variable called onclick= which you can add under $form_struct such as type=|req=| etc.. and then give a command like open.newpage.php. Im a new bee at php so can anyone please help me. Is this even possible? Thanks in advance.

Bookmarks

Posting Permissions

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