So I'm pretty dense on PHP and programming for that matter but I'm trying to figure this out but could really use some help.
I'm doing a favor for some friends and I'm trying to build a race registration form. Here's what I need the form to do. Take all the users info filled out in the form and enter it into a SQL database, the DB then generates a entry ID and then does two things, sends the registration info to an email address and also sends part of the entry (order ID, FirstName, LastName, Address, etc) to another web page(another friend is handling the payments but need the order ID, FirstName, etc passed to his page). I've created the database already but I'm not sure how to make the form create the entries and have the DB send the info via email and to the other page. Anyone help me please!