I want to send the booking form data to database table and also I want to send the same to any email Id.
<form action=c:\ est\booking.php>
In booking.php I wrote the procedure to store the data into database. I don't know how to send the same data to email Id
Please help me out
Thanks & Regards
Thanks for your reply
but I want to know that I should keep the php email function after sending the data to database in the same file
Sure, The PHP mail function should be placed in booking.php.
Insert the form data to the database and then send the email.