Executing PHP in a Post to achieve static output
-
Ok so I can’t, for some reason figure out a good way to do the following:
What I’m trying to do is write PHP in my posts that will execute only once when the post is published. I want that PHP to output some static HTML.
I’m using Exec PHP.
Ie.
<?php function myfunction{}>
would output
“The text I require”
in STATIC html.I’m trying to write a script that grabs a non-dynamic stock quote at the top of each page.
Any help would be much appreciated.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Executing PHP in a Post to achieve static output’ is closed to new replies.