In controller page, I have
Code: Select all
$myObj = new MyObj();
$_REQUEST["myObj"] = $myObj ;
header("location:../page/p1.php");
Code: Select all
<form action="">
<input value="<?php echo $_REQUEST["myObj"]->getCreateDate(); ?>" type="text" />
</form>
Thanks.