Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perform two actions when 'submit' clicked

Status
Not open for further replies.

cyberspace

Technical User
Aug 19, 2005
968
GB
A while back I created a mailer script for a company website who wanted details of new quotes emailed to them when a client filled out a form online.

They wish to take this one step further - aswell as emailing the data (which works fine) they want to write it to a SQL database.

Can there be two actions performed on submit? And if so, where abouts should the code for this be added?

TIA

'When all else fails.......read the manual'
 
there is no problem with concatenating actions in a php script. put both actions in your form processing script.
 
I thought that would be the case to be honest, thanks!

'When all else fails.......read the manual'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top