Re: problem reading array data

2010-04-08 Thread nwood
On Wed, 2010-04-07 at 21:37 -0700, Karthick Subramanian wrote: I need to read an array's content using a while loop and inside the loop read another array's content. Using the variables from the two arrays I need to execute a query. My problem is the inner while loop reads all records of the

Re: problem reading array data

2010-04-08 Thread Johan De Meersman
On Thu, Apr 8, 2010 at 10:25 AM, nwood nw...@plus.net wrote: OK, at a 5 minute glance: 1.) I think the reason it isn't working is that MySQL/PHP don't support reading from two buffered result sets concurrently: read from one then the other. Specifically, it doesn't support multiple buffered

problem reading array data

2010-04-07 Thread Karthick Subramanian
I need to read an array's content using a while loop and inside the loop read another array's content. Using the variables from the two arrays I need to execute a query. My problem is the inner while loop reads all records of the array whereas the outer while loop exits after reading the first