Re: Problem in retrieving param from cookie

2002-04-10 Thread Ng Yuen Soo
t; <[EMAIL PROTECTED]> To: "ChaoZ InferNo" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 9:20 PM Subject: Re: Problem in retrieving param from cookie > Have you tried the following? > > my %answers = $q->cookie("my_cookie

Re: Problem in retrieving param from cookie

2002-04-10 Thread Carl Franks
Have you tried the following? my %answers = $q->cookie("my_cookie"); print "$answers{q1} $answers{q2} $answers{q3}"; #etc... Carl > Let's say if I create a cookie with $questions and $answers value pairs > where $questions consists of q1, q2, q3, q4, q5, while $answers consists of > a1, a2, a3,

Problem in retrieving param from cookie

2002-04-10 Thread ChaoZ InferNo
Hi, Let's say if I create a cookie with $questions and $answers value pairs where $questions consists of q1, q2, q3, q4, q5, while $answers consists of a1, a2, a3, a4, a5. I have no problem in printing out every value of a cookie by using my %answers = $q->cookie("my_cookie"); if(%answers)