Robb Kerr wrote:
These are "inspirational" quotes that
I want to appear at the bottom of the pages of my website. I want them to
come up randomly with every page load.

SELECT * FROM table ORDER BY RAND() LIMIT 1

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to