Posts Tagged ‘xml’

April 23, 2008 0

How To Create A Random Fact Generator Using XML

By J in Uncategorized

This is a simple little random fact generator which will show a new fact every time the page loads. After the initial load it will store the XML in the cache until the file is changed again.
XML: (Facts.xml)

<?xml version=”1.0″ encoding=”utf-8″ ?>
<facts>
<fact>
The numbers ‘172′ can be found on the back [...]

Tags: ,