Hello. ARRR[] has 50 items.
foreach($_SESSION['$ARRR'] as $itm ) {echo '<tr><td> ',$itm,' </td></tr>'; } //works fine
$i=2
$_SESSION['$ARRR['$i']'] // shows error "Notice: Undefined index:"
How to show all even items using FOR?
P.S. Sessions were used becase ARRR was defined on another page.
Thank you.
foreach($_SESSION['$ARRR'] as $itm ) {echo '<tr><td> ',$itm,' </td></tr>'; } //works fine
$i=2
$_SESSION['$ARRR['$i']'] // shows error "Notice: Undefined index:"
How to show all even items using FOR?
P.S. Sessions were used becase ARRR was defined on another page.
Thank you.