close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

$Session variable hell

Thread began 8/18/2009 7:53 pm by david.barrack304604 | Last modified 8/19/2009 10:23 am by david.barrack304604 | 6057 views | 6 replies

david.barrack304604

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'];?>

*************************************************

Attached Files
From David BARRACK.doc.zip

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...