|
I want to pass the result of a function to another page. As the result is a PDOstatement object, I cannot use serialize(). The code is below.
if (isset($_GET['action']) && $_GET['action'] == 'getResultofParent' && isset($_POST['keyword']))
{
$result=getResultofParent($_POST['keyword']);
header("Location: http://localhost:100/test/viewnoofvisit.php/?result=".$result);
}
Please help me
thanks in advance
|