thx bro it was a good solution for the birthdate listboxes because I using for loop to fill the list of day,month,year with the numers.
But it is very bad solution for the list of the countries?! I have more than 100 name so it is would be so difficult to add a php statement proper to each of the 100 country?! so there is any way to select the item automatically by java or php?

2nd Question:
I used this to recover the state of the checkbox:
if(!isset($_POST['sharemail'])){
echo "checked='checked'";
}else{
echo ($_POST['sharemail']=="on")?"checked='checked'":"";
}
but is don't works why?
thx