Hi ezb,
you do this by building code block which run based on which post values are set
so :
[PHP]<?php
if (isset($_POST['first_select']) and $_POST['first_select'] <> "default value" and !isset($_POST['second_select']) ) {
//
do the code to build the second select
//
}
elseif(isset($_ POST['first_select']) and $_POST['first_select'] <> "default value" and isset($_POST['second_select']) and $_POST['second_select'] <> "default value" ) {
//
do the code to save the data to the database
//
}
?>[/PHP]
does that help ?
Purple
you do this by building code block which run based on which post values are set
so :
[PHP]<?php
if (isset($_POST['first_select']) and $_POST['first_select'] <> "default value" and !isset($_POST['second_select']) ) {
//
do the code to build the second select
//
}
elseif(isset($_ POST['first_select']) and $_POST['first_select'] <> "default value" and isset($_POST['second_select']) and $_POST['second_select'] <> "default value" ) {
//
do the code to save the data to the database
//
}
?>[/PHP]
does that help ?
Purple
Comment