View Full Version : Dreamweaver MX and PHP mail?

Humble Dude
05-17-2004, 05:35 AM
Hello once again everyone,

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

I do somewhat apologize for any seemingly & completely ignorant posts in the past. LMAO...

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

05-17-2004, 11:35 AM
should be easy to do both insert and send you an email

//validate data
//if data ok input data to database
//if data saved send mail
//else show errors
//show form