Can somebody explain exactly how i put the php form handler in my html code?
Feb 28th, 2009 | By KC | Category: PHP Relatedor is it seperate as well as related to a html formula from an additional page. an additional thing is i do not know php though usually know i need this to get a email form working.
The simple way is just need to make a form (inside a something.html) for posting the items´s value and send those item´s value to another page(ie: email.php) through form method “POST” or “GET” But u should use to POST method. Once you got those values into email.php then just write this following below code.
in calling file (something.html)
…
in receiving file (email.php)
variables: $_POST [ ' variablename ' ] )
Build $headers, $subject, $message, $to
$res = mail ($to, $subject, $message, $headers);