Posted by nospam on 08/08/07 18:00
Hello,
Sorry for the newbie question. I am trying to add some dynamic content to
an existing HTML page. I would like to add a random saying to an area of a
HTML doc. Sort of like a "fortune" - that would display a different fortune
every minute.
I figure that I can write a PHP script to select a random fortune from a
file, but how do I embed that text within a HTML doc.I want to keep the HTML
document just as it is now but add this php text. I don't want to rename
MyHtml.html to MyHtml.php which I can do now.
Is there a way to execute a external php script from within an HTML and have
its return value displayed in the HTML?
Thanks in advance,
bruce
Navigation:
[Reply to this message]
|