-
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.
-
-
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).
-
-
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).
-
-
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.
-
The Following User Says Thank You to thetestingsite For This Useful Post:
-
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!
-
-
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks