If you print_r() on $_POST or $_GET, depending on the form method that you are using, are the full values being passed to the page?
Thanks for reply,,
form method post i am using. and i am passing value like this.
echo " <select name=state>";
echo "<option value='$row[statename]'>$row[statename]</option>";
echo " </select>";
Like state name have name "NEW YORK" . As it is showing in form when i am selecting this value and submitting form with value $_POST[state] . But in databse this is showing just " NEW " but this should insert " NEW YORK" . This point is confusing me.
please help me . how i can solve this.
thanks