Hi
I have a web site based on php to display tables of servicing manuals which works ok. I now want to add an alert box that displays if there is a product the subject of a 'Recall' or 'Safety' notice.
If I add the following to the display page I get the alert box appear exactly as wanted:
However I obviously only want this to display when a php variable '$safety_alert' is set to true. (I can set this in the php section to anything that is no problem) but how do I get the value of a this, or any other, php variable to control a javascript function such as this one please?
Thanks