Using $_SESSION in query
- Daniel
- Offline
- Administrator
-
15 Jan 2018 13:24 #5329
by Daniel
Thanks
Daniel
Replied by Daniel on topic Using $_SESSION in query
Hi,
It only accepts Request variables i.e. GET & POST. It won't work with session variables. Please contact our Sales team via Contact us -> Request a Quote form for customizations as per your requirements.
It only accepts Request variables i.e. GET & POST. It won't work with session variables. Please contact our Sales team via Contact us -> Request a Quote form for customizations as per your requirements.
Thanks
Daniel
Please Log in to join the conversation.
- YSPI
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
15 Jan 2018 12:11 #5328
by YSPI
Using $_SESSION in query was created by YSPI
Hi
Using Vchart 2.9.17. I want to use a session variable <?php echo $_SESSION["cid"]; ?> in the query but using the php insert creates a MySQL error. What is the correct method of accessing session variables? I don't really want to have to GET them into a form to use them as that defeats the purpose of a session variable!
Thanks
Using Vchart 2.9.17. I want to use a session variable <?php echo $_SESSION["cid"]; ?> in the query but using the php insert creates a MySQL error. What is the correct method of accessing session variables? I don't really want to have to GET them into a form to use them as that defeats the purpose of a session variable!
Thanks
Please Log in to join the conversation.