Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Justin French
try wrapping the vars inside curly braces {$_COOKIE['var']} when using them inside strings. eg echo "your username is {$_COOKIE['uid']}\n"; Justin French on 05/06/02 3:22 PM, Tom Ray ([EMAIL PROTECTED]) wrote: > when I do that it comes up with > > Parse error: parse error, expecting `T_STR

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Jason Wong
On Wednesday 05 June 2002 13:22, Tom Ray wrote: > when I do that it comes up with > > Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or > `T_NUM_STRING' > > Justin French wrote: > >you should be able to access it via $_COOKIE['name'], or what I do, > > $cookie = $_COOKIE['name']. >

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Tom Ray
when I do that it comes up with Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' Justin French wrote: >you should be able to access it via $_COOKIE['name'], or what I do, $cookie >= $_COOKIE['name']. > >Justin French > > >on 05/06/02 2:19 PM, Tom Ray ([EMAIL PR

Re: [PHP] Retrieving Info from Cookies

2002-06-04 Thread Justin French
you should be able to access it via $_COOKIE['name'], or what I do, $cookie = $_COOKIE['name']. Justin French on 05/06/02 2:19 PM, Tom Ray ([EMAIL PROTECTED]) wrote: > I've been playing with cookies, and I've been able to write information > to a cookie, but now what I want to do is pull that