Re: [PHP] Re: Sending a string with $_POST/$_GET

2005-05-18 Thread Brian V Bonini
On Wed, 2005-05-18 at 11:53, Luis wrote: > Ross wrote: > > I want to write a string to a variable and use $_POST or $_GET to retrieve > > it on another page. $string = 'this is a string'; echo 'Next page'; another_page.php: echo $_GET["val"]; -- s/:-[(/]/:-)/g BrianGnuPG -> KeyI

[PHP] Re: Sending a string with $_POST/$_GET

2005-05-18 Thread Luis
Ross wrote: I want to write a string to a variable and use $_POST or $_GET to retrieve it on another page. I keep gettting an undefined index errror. Can someone show me how this is done? Do I have to use session_start() ? or just use cookies: setcookie('myvarname', 'some value'); and in the ot