Associate
- Joined
- 2 Nov 2007
- Posts
- 488
Hi,
Im very rusty / new to all this, and just wanted a quick hand. I have a PHP contact form set up and working. I want to add in a "Request callback" with a checkbox. Then if checked, the email will say something like "Call back request? Yes", or if not Call back request? No"
Im struggling with the code. So far ive got:
As you can see im not really sure what im doing!
Cheers for any help
Im very rusty / new to all this, and just wanted a quick hand. I have a PHP contact form set up and working. I want to add in a "Request callback" with a checkbox. Then if checked, the email will say something like "Call back request? Yes", or if not Call back request? No"
Im struggling with the code. So far ive got:
Code:
// Customer callback?
if ($_POST['checkbox'] == "1") {
echo "checked=\"true\"";
else {
echo
$callback = 'Customer requests a call back?'
}
As you can see im not really sure what im doing!
Cheers for any help