buongiorno a tutti


vorrei poter portare il contenuto di un array

foreach($row as $chiave => $valore)
echo $chiave. " " . $valore . "
";

in una pagina successiva! se uso session in questo modo

$_SESSION['row']=$row[i];
echo $_SESSION['row'];

mi da il seguente messaggio di errore

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0

c'è un altro modo per fare questa operazione?magari usando il metodo post?


grazie a tutti per la risposta