I have an array containing some values, say
arr[\'one\'] = \"one value here\"; arr[\'two\'] = \"second value here\"; arr[\'three\'] = \"third value here\";
home.php file
session_start(); if(!empty($arr)){ $_SESSION['value'] = $arr; redirect_to("../detail.php"); }
detail.php
session_start(); if(isset($_SESSION['value'])){ foreach ($_SESSION['value'] as $arr) { echo $arr . ""; unset($_SESSION['value']); } }