PHP script in text widget not working
-
I have a PHP script (called stoplicht1.php) that will change a traffic light to red, orange or green. What it does is select the correct picture (.gif).
I call this picture in a text widget with the following code: <img src=”stoplicht1.php” />.This script works well, when I load the site I see the correct picture.
However, when I go to another page on the site the the picture disappears. It seems that the script does not work anymore.
How can I fix this?
- The topic ‘PHP script in text widget not working’ is closed to new replies.