I have a table called funny that contains a lot of funny quotes. I would like to randomly display 1 on a page.I am doing this right now by loading them all into an array and shuffleing the array.Is their any way to do this with mysql? Here's my sql right now
I'm not very good with sql so any help would be great.Code:SELECT data FROM funny WHERE funny.set = 'general'



Reply With Quote

Bookmarks