CheckBox horror!

  • IronLion
  • Born
  • Born
  • IronLion
  • Posts: 1

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

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

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 12 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.