Oh I see, remove the 'LIMIT 10' from sql query and it should work for you.
The script uses a counter to check if the number of random adoptables loaded hit 10 or not, so this sql query is redundant and needs to be modified.
Lemme know what happens once you revise the sql query, if it fails to function normally I will take a deeper look into the code.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|