My thing is I have not done anythig in asp yet and have built an online form using a php and I'm afraid I am not familiar enough with the language yet to understand how to spit my data out to the user properly.
What I need to do is very simple.. I need to check my checkboxes on my form to see if they are checked, asign the value to a variable and then echo a string to be sent to my email.
No need to post the entire page of code so I will just show the part I need help with.
Here is where I am checking the checkboxes:
Code: Select all
<?
if ($_GET[Licensed_Mortgage_Broker_Y] == checked)
{
$Licensed_Mortgage_Broker == "Yes";
} else
{
$Licensed_Mortgage_Broker == "No";
}
if ($_GET[Licensed_Real_Estate_Agent_Y] == checked)
{
$Licensed_Real_Estate_Agent == "Yes";
}
else
{
$Licensed_Real_Estate_Agent == "No";
}
?>Code: Select all
$message = "Response for $recipientname:
Brokers Name: $Name
Title / Owner: $Title
Email: $Email
Company Name: $Company
Mailing Address: $Mailing_Address
Telephone: $Telephone
Fax: $Fax
Licensed Mortgage Broker: $_POST[$Licensed_Mortgage_Broker]
Licensed Real Estate Agent: $_POST[$Licensed_Real_Estate_Agent]";
Everything is being sent but the variables $Licensed_Mortgage_Broker and $Licensed_Real_Estate_Agent are not showing any data
Please help me :0 it's driving me nuts and I am tryin g to get it done quickly so I can get back to studying for my weekly vb tests lol