ok....I have this line of code that displays a drop down ......
printf("<option value='%s'>%s</option>\n", htmlentities($row['SCHOOL']), htmlentities($row['NAME']));
it is assigning the value school and displaying the value name in the drop down ... which i pulled in a query from an oracle db....
this is on my functions page... in my test2.php page i simply have this piece of code which prints the function off of the functions page...where that line of code above is located... I want the displayed >> htmlentities($row['NAME']) << to be in the $_SESSION array so after the schoolchoice() drop down finishes executing and refreshes with the teacher drop down.... i want to be able to print that above the next drop down static without having to run another query ..... and the same thing on the third drop down just printing the NAME above the student drop down...
<?
schoolchoice();
?>
All the drop downs work fine....I just dont understand how to assign the $_SESSION array to >> htmlentities($row['NAME']) <<
so i can print that wherever i want...
if i confused you im sorry i can try to explain differently.....
thanks again for all of your help...