Re: [PHP] Passing values dynamically

2003-10-17 Thread Nitin
i guess, it would be better to use loops, if i understand your problem, the way it is. Nitin - Original Message - From: "Rashini Jayasinghe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 3:12 PM Subject: [PHP] Passing values dynami

Re: [PHP] Passing values dynamically

2003-10-17 Thread Marek Kilimajer
You need to create an array in the session and assign the values: $_SESSION['values']=array(); while( $v=/* get single value */ ) { $_SESSION['values'][]=$v; // notice the [] } Then on the other page loop the array. Rashini Jayasinghe wrote: Hi, I am getting a one column table as a result fo

[PHP] Passing values dynamically

2003-10-17 Thread Rashini Jayasinghe
Hi, I am getting a one column table as a result for a select statement. Now I want to pass obtained values dynamically to invoke another query in a new page. I tried to pass the values with sessions. But every time I get the last value of the previous result. Any suggestions as how I could pass th

[PHP] Passing values dynamically

2003-10-16 Thread Rashini Jayasinghe
Hi, I am getting a one column table as a result for a select statement. Now I want to pass obtained values dynamically to invoke another query in a new page. I tried to pass the values with sessions. But every time I get the last value of the previous result. Any suggestions as how I could pass