Hi bogu,
Thanks for the help.
As a note, I have read a lot on php and mysql, I was trying to take another persons code and adapt it to what I was trying to accomplish. Not always easy...
I tried your code, and it gives me the items, randomly selected, but the area I am grey on is what my 1st post stated.
I am trying to select 5 images randomly from my table, and display them so that 1,3,5 are people shots, and 2, 4 are places.
Example: images listed left to right as such (1,2,3,4,5)
Thats where my confusion on how to take the queries and get image 1,3,5 to be people shots, and 2,4 to be places.
With your suggestion I get
1,2,3 People shots and 4,5 Places.
Do that explain why my attempt at the query and loop seemed so far off to you?
Thanks,
Don