Hi, I would like to get a form to perform 2 actions at the same time, does anybody know how to do this, it needs to insert a record in to a database, (which it does currently) and also email the person that just registered to say hi. which one of the other pages currently does quite happily.

any help much apprecated

Cheers

Phil

Easiest way is to run the scripts concurrently from the post action. Depending on your set up this may mean including both the form processing and email scripts on the page that the form posts to, or calling functions, includes, server.executes, as required.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.