Im a newbie to this forum and have just started coding in php. Need some help. I have the following code
if (isset($_POST['Submit'])) { echo ""; echo ($_POST['pty_select']); echo ""; } ?>
"; echo ($_POST['pty_select']); echo "
Change it to something like
if(isset($_POST['Submit'])) { echo $results_array[$_POST['pty_select']]['profile']; }
Or alternatively use profile option value.