Jump to content

[SOLVED] rotate images sequentially on refresh, not randomly... please help


mac007

Recommended Posts

That's shorthand and maybe your server doesn't like it. Replace that line with this:

<?php
if ($_SESSION['banner']==count($banner)) $_SESSION['banner'] = 0;
else $_SESSION['banner']++;
?>

 

It doesn't work either. I decided to just leave it as it is then... random.

 

Thank you anyway for your help! I really appreciate it!

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.