code with SESSION variable issues
Hi Brian,
Thank you so much for the help. I am attaching the code. I made sure that session_start was at the top of the page. The recordset works with no problems and returns and displays value.
I am just seeing weird things. At one time this seemed to work fine. Listed below are a few lines I was adding to check out values.
1) Here I am just wanting to see one of the values from the recordset. This used to work but does not now. The recordset does work and does display in a dynamic table. EVENTID = <?php echo $row_Recordset1['PRV_Event_ID']; ?>
2) This is a session variable assigned a value just to see if the session variable would at least store something. ?php $_SESSION['PRV_rates'] = 9;?>
3) Here is where I am attempting to story a recordset value in the session variable.
?php $_SESSION['PRV_rates'] = $row_Recordset1['PRV_Event_ID'];?>
4) Here I am expecting to either see the static value I assigned to the session variable or hopefully the recordset value. Instead I get nothing. Nada.
rates = <?php $_SESSION['PRV_rates'];?>
*************************************************