I have two variables:
<?php
// today
$today = date('z') + 1; // eliminate zero
// count of items in array
$count = count($array);
?>
As soon as $count becomes less than $date, $date needs to reset to 1, but the following day it needs to be 2, and the day after 3, etc... until THAT becomes greater than $count, and it needs to reset again....
<?php
// today
$today = date('z') + 1; // eliminate zero
// count of items in array
$count = count($array);
// if $count less than $today
if($count < $today){
// ???
}
?>
Can anyone help?