Jump to content

select 1 table every 5 times


brown2005

Recommended Posts

One way you can solve it is create a new database table that is boolean (true/false). Than every time a user views tablea, switch the boolean to false, so the next time another user views it it will display tableb.

 

<?php
if(boolean == true) {
    // display tablea
} else {
    // display tableb
}

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.