i can pass a array over multiple page by session. But is there any better ways?
file A: <?php session_start(); $_SESSION['myarray'] = array(array(1, 2, 3, 4, 5),array(6, 7, 8, 9, 10)); ?>
File B: <?php
session_start(); echo '<pre>'; print_r($_SESSION['myarray']); echo '</pre>'; ?>
Any other better way?
"Better" by what standards?