More on Random Entries and using MySql Query

| No Comments |

My previous post about this subject can be viewed here. So much for thinking this code worked properly. It did for pages that were in my main directory. Viewing archived entries that were saved to a different directory gave an error, because the function calls for a path to the sql query and since I use php-includes for the side-bar, the path was different. One way to get around this would have been to hard code everything onto the templates, but an easier solution was to use David Raynes MultiBlog with his Random Entries plugin. Now the random quotes can be viewed from anywhere in my site and it seems a far easier solution.

Leave a comment

Twitter Updates

Subscribe

Enter your Email


Preview | Powered by FeedBlitz

Archives

Powered by Movable Type 4.23-en

Random Pix


Carly and Keely

Carly and Keely


Stare at the black dot and the grey around it will disappear

Stare at the black dot and the grey around it will disappear

Random Quote

Akhenaton

"If thou would'st preserve understanding and health to old age, avoid the allurements of Voluptuousness, and fly from her temptations - For if thou hearkenest unto the words of the Adversary, thou art deceived and betrayed. The joy which she promiseth changeth to madness, and her enjoyments lead on to diseases and death."

:: (~1362BC) Monotheist, King of Egypt (1379-62BC)

Recent Comments