Thread
:
[SOLVED] Form to email with checkbox
View Single Post
#
2
(
permalink
)
Oct 29th, 2007, 00:45
Rakuli
SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries:
2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form to email with checkbox
Just check if it has a value at all ( as
PHP
only send it if the checkbox is set..)
$newsletter = !empty($_REQUEST['newsletter']) ? 'Want' : 'Don\'t Want' ;
Rakuli
View Public Profile
Visit Rakuli's homepage!
Find all posts by Rakuli
View Blog