newdahas Posted October 9, 2008 Share Posted October 9, 2008 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! Link to comment https://forums.phpfreaks.com/topic/126641-solved-rotate-images-sequentially-on-refresh-not-randomly-please-help/page/2/#findComment-660764 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.