Ever wanted to get some database content or server side scripting output onto a plain old HTML (non-php) page?
Anyone who wanted to use my database of links just needed to place this script in their HTML where they wanted to display the content:
My PHP script looked something like this:
// get data from database
// store formatted data into a variable
<!-- Hide from non JS enabled browsers
document.write('<?PHP echo $content; ?>');
//--> End Hide
That was it. I was surprised at how easy it was.
Hope it helps someone else.