plznty Posted October 28, 2010 Author Share Posted October 28, 2010 If you put this code on a live production server, you'll probably want to change the error reporting that's in the else{} to something generic like "Sorry, there was a database error." and log the actual error in a logfile instead, but that's another subject. Yeah im planning on doing so. Thanks! Link to comment https://forums.phpfreaks.com/topic/216615-php-random-from-mysql/page/2/#findComment-1127328 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.