I grab data from an Oracle database and create a select list as follows:
while ($row = oci_fetch_array($stid, OCI_RETURN_NULLS)) {
print '<option value="'.$row[0].'">'.$row[1].'</option>';
}
The problem I have is that my error handling functions send the user back to the same form if there is a data entry problem. When this happens, I get an error that the login information (that I use to build the select list) is incorrect; basically because it is gone.
Rather than going back to the database each time the user is sent back to the form for a data entry error, is there a way to make this list persistent. TIA.