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

2005-05-18 Thread Rory Browne
You don't set $_GET variables, like $_GET['name'] = whaever and expect to do something along the lines of echo $_GET['name'] in another page. To assign a value as a GET variable on another page, then you make the url of the other page whatever.php?name=value Then in whatever.php you can do someth

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

2005-05-17 Thread disguised.jedi
> 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? /* How are you trying to accomplish this? Are you setting the $_GET in the page code, or using a hidden form?

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

2005-05-17 Thread Burhan Khalid
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() ? This would be ideal. Have checked the documentation, can't find a really