I'm new to all this so I really need some advice!!
I am doing up a data entry page for events, by clicking on 'submit', the data will be uploaded into the mysql database. All this poses no problem, but I need to create a php mail (mail.php) that upon clicking on 'submit' (events.php), an email will be sent to a colleague to tell her to go to this admin page which I have done up for her to approve or disapprove the event submission.
As far as I know, 'submit' is only for the event form and not for the mail.php. But it would be stupid to put two buttons on the events.php...
What should I do??