Dreamweaver MX and PHP mail??

They have: 3 posts

Joined: May 2004

Hello once again 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

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

I'm sorry, have you posted here before? This appears to be your first post?

You can have it email you and update your database, it depends on whatever you put in the script. Does DW have it's own form processing script included?

http://www.php.net/mail

mjs416's picture

They have: 127 posts

Joined: Dec 2003

DW has a bunch of pre-configured server behaviors ( log user in, log user out, insert into db, etc.), but it does not have a pre-configured form processing script.... at least none that I am aware of. You might be able to find an extension on macromedias download section that does that for you, but again, I am not sure.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.