thanks for the info,
i am actually not at that point yet. i have just figured out that using this code in my html will POST a "0" to my php script which adds a "0" to the table in MySQL database.
but here is the problem and here is my code:
<SELECT NAME="firstclick">
<OPTION VALUE="0" SELECTED>
I want to call this field firstclick and add "0" to the table in my database. it worked but the html page has an ugly text field (drop down menu) on it. How can I make the "0" POST to my php script and not have it show up on my html page when viewed in a browser?
Here is my php script as well:
<?php
echo "<TITLE>Thank you for your subscription</TITLE><BODY>";
$db = mysql_connect("sqlserver", "databseloginID", "databasePW");
mysql_select_db( "database_name",$db);
$sql = "INSERT INTO table_name(email, first, gender, country, age, firstclick, date) VALUES ('$email', '$first', '$gender', '$country', '$age', '$firstclick', CURRENT_DATE)";
mysql_query($sql,$db);
//echo "$email $first $gender $country $age '$firstclick' $Current_Date";
echo "</BODY>"
?>
thanks for the help! much appreciated!
Bowmah