I have a need to access SQL data (through CustomQuery), and use this data in Javascript to manipulate the style of the body(change background image).
More details: When a registered user selects a certain value from a dropdown box, the page background should load a new background image. Then when a guest loads another page, this page must check what the Registered User selected (through sql query) and change the style accordingly.
Is there a way to do this?
There is a "how to access PHP variables" document in the help files, but I gather that this is for already initialized data.