tags:

views:

54

answers:

1

Hi,

I am java, j2ee developer. But new to PHP lang.

In Java Controller and Jsp , there is provision to add object in request attribute. like this ....

request.setAttribute("Object_key", Object);

Is there is such kind of provision in PHP, which add object/Variable in request. So these objects/Variables are available to next view page.

Thanks

A: 
$_REQUEST["username"] = "Tom";

Reference : http://php.net/manual/en/reserved.variables.request.php

Braveyard
thanks Braveyard
Yashwant Chavan
If it worked for you, please mark it as an answer, so other can benefit from it. Thanks...
Braveyard