CheckBox horror!

  • IronLion
  • Born
  • Born
  • No Avatar
  • Joined: Nov 16, 2006
  • Posts: 1
  • Status: Offline

Post November 16th, 2006, 11:46 am

I can't find anybody with my problem and when I do I get no help so I must post this.....

I have three Checkboxes

I don't know how to change the font or the color of the font.
I get the CheckBoxes to send through PHP but when checked they come up blank in the email.


primary, vacation and investment are the checkboxes
Here is the submit code:

on (release) {
if (firstname eq "firstname" or lastname eq "lastname"
or address eq "address" or city eq "city"
or state eq "state" or zipcode eq "zipcode"
or email eq "email" or message eq "message"
or primary eq "true" or vacation eq "true"
or investment eq "true"){


stop();
} else {
loadVariablesNum("form.php", 0, "POST");
gotoAndStop(81);
}
}

Here is the PHP code:

<?PHP

$to = "email@iounlimited.com";
$firstname =$_POST['firstname'];
$lastname =$_POST['lastname'];
$address =$_POST['address'];
$city=$_POST['city'];
$state =$_POST['state'];
$zipcode =$_POST['zipcode'];
$email=$_POST['email'];
$message =$_POST['message'];
$primary =$_POST['true'];
$vacation =$_POST['true'];
$investment =$_POST['true'];

$msg .= "This message has been sent from your Contact Form\n\n";
$msg .= "Firstname: $firstname\n\n";
$msg .= "Lastname: $lastname\n\n";
$msg .= "Address: $address\n\n";
$msg .= "City: $city\n\n";
$msg .= "State: $state\n\n";
$msg .= "Zipcode: $zipcode\n\n";
$msg .= "Email: $email\n\n";
$msg .= "Message: $message\n\n";
$msg .= "Primary: $true\n\n";
$msg .= "Vacation: $true\n\n";
$msg .= "Investment: $true\n\n";

mail($to, $subject, $msg, "From: Vista Del Lago Form\nReply-To: $email\n");

?>

PLEASE HELP I'm going crazy.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 16th, 2006, 11:46 am

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 05, 2004
  • Posts: 1254
  • Loc: Ro
  • Status: Offline

Post November 17th, 2006, 4:40 am

hmm ... with that actionscript you`re going nowhere. The php however seems correct, but i dont know what kind of action script is there.
check out this
“True mastery transcede any particular art. It stems from mastery of oneself - the ability, developed throgh self-discipline, to be calm, fully aware, and complety in tune with oneself and the surroundings. Then, and only then, can a person know himself. ”

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 67 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.