Jump to content

Im sure simple for somone! Selecting from database randomly!


gibrst

Recommended Posts

Ok, im having a bit of trouble, im trying to create just a very simple ad rotator, but the ads are in categories!

 

So, in the table there is ID, ad image, category

 

And i basically want to when page loads, show a random ad where the category is "a certain category"?

 

Anyone know how i could do this?

 

Cheers

Andy

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.