Reply
Dreamweaver MX and PHP mail?
Old 05-16-2004, 11:55 PM Dreamweaver MX and PHP mail?
Junior Talker

Posts: 2
Hello everyone,

Geez... I could be kicking myself in the butt right now.

All this time, I have been all concerned & busting my rear to learn php & some java & some Perl simply to get some forms running (which is not at all bad, of course, & I'm glad I know what little bit that I do) when just about everything I've wanted to do has basically been right at my fingertips in Dreamweaver MX through server behaviors & data bindings, etc. Duhhh...geezus! Took me a little while to figure that out!! (Great book: SAMS *Teach Yourself Dreamweaver MX Application Development in 21 Days*)

I am a bit confused at this point though.

I have a nice form working in TFMail...I finally got that working & everything looks pretty good - but it doesn't insert anything into mySQL.

I have a nice form that is created dynamically in Dreamweaver...basically the same form as the TF form. It looks good & works great as well - but it doesn't email me a copy of the submitted data from the form.

Is it easier to create a php script to e-mail me the dynamically created DW form??

Or is it easier to create a mySQL string that inserts the data from the TFMail form into my database table?

Or...am I talking about a 6 of one & half-dozen of the other?

Also, is there any easy way to do this??

Thanks much for any suggestions or help,

Humble Dude
Humble Dude is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-17-2004, 10:20 AM
cmonkey's Avatar
Ultra Talker

Posts: 268
I dont' know anything about TFMail, but I do know PHP/MySQL, your form needs to submit the data to a php script to insert the data into the DB, ie <form action="saveinfo.php"...> in the saveinfo.php script you can just use a simple INSERT query to store the data.

The same goes for your emailing problem, you need to submit the info to a script that will then email the info to whatever email address you specify using the mail() function.

If you need me to be more specific let me know.
cmonkey is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dreamweaver MX and PHP mail?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11585 seconds with 13 queries