First, I thank all of you who responded to my call for help. My problem clearly stems from my lack of programming knowledge. I have painfuly learned what programming101 teaches - variables are not kept from one execution of the script to the next execution of the script.
So, meigwil and bogu, you are right. A Session and database is needed. However, to access the needed row within the database, I would need to reference the row by session_id. My problem is that the script that is called by my script is associated with a different session and session_id. Is there a way of referencing the session_id from another script instead of using the session that is active during my script?
ionathas mentions the use of headers. Could headers be used to pass another session's variables back to my script?
Thank you Horizon88 for sharing your script also.