The following code displays random database images as well as one specific image (which is what I want). How can I shuffle these results after database query as image ID 11
Its doesnt need to be that complicated if you just put for example
SELECT * FROM tbl_table ORDER BY RAND()
This will randomise your data. if you want to limit out how many images you show then just put:
SELECT * FROM tbl_table ORDER BY RAND() LIMIT 6