im kind of a novice in web programming, can anyone please help. i have the form that uses java-script to divide the different sections of my form, that works fine but i need help to submit the input entered to an email address. the source for form is below:
bellow code may help you .
just put this code in your form and save form with .php file
in this ' submitted is submit button name '
$email = $_POST['email'];
$to = "firstname.lastname@example.org"; // any user email id
$subject = "any subject";
$from_name = "abc";
$from_email = $email;
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "From: $from_name <$from_email>\n";
$message = '<table>
do i paste the code on the html file? what do i do about the java-script that customizes the form and handles the content? If you may please take a look on the code the link is here :http://zeuspromotions.co.za/tmp/
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)