[Plugin: PHP Execution] Avoid PHP script rerun on refresh
I have a PHP code that pick random quotes from an array and, thanks to PHP Execution, displays result in a post.
I would like the script to run just once (when i publish the post), and not to update with a new random quote on page refresh – i would like that the quote picked stayed in post and archive without changing at every refresh.
Can somebody help me with this?
PS I’m a beginner with PHP 😛
- The topic ‘[Plugin: PHP Execution] Avoid PHP script rerun on refresh’ is closed to new replies.