This is for a car dealer site.
I have two combo boxes. The first queries the db and displays all of the manufacturers. When the user selects a manufacturer it uses the onChange and submits a php_self call, which requeries the db to display all of the makes for a particular manufacturer. Once the user has selected the make that they want they will click the go button to submit the form to the next page, so I need some way to have both php_self and an action to submit to the next page. I have tried
if (isSet($POST['submit'])){
form name=search action=next_page.php method=POST>;
}
else{
form name=search action=$SERVER['PHP_SELF'] method=POST>;
}
This will not work because you must click submit twice before it actually submits to the next page.
Thanks!