Re: [PHP] row pointer

2002-06-15 Thread Analysis Solutions
Zac: foreach($kywrd as $val) { $fndWrds .= wrd = '$val' OR ; } FYI, a simpler way to do that... $fndWrds = wrd IN (' . implode(',', $kywrd) . '); That aside, w/o completely analyzing your entire set of code, it sounds like John is on the right track with putting a unique index on the wrd

Re: [PHP] row pointer

2002-06-14 Thread Analysis Solutions
Hey Zac: On Fri, Jun 14, 2002 at 08:59:02AM +0100, Zac Hillier wrote: I'm looking for a php function that will return the position of the pointer in a mysql recordset. I don't think there is one. You could use a counter variable as you're looping through each row to keep track of where

RE: [PHP] row pointer

2002-06-14 Thread John Holmes
Keep track of it yourself as you loop through the data. Maybe if you explained what you need overall then we could suggest a method... ---John Holmes... -Original Message- From: Zac Hillier [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 3:59 AM To: [EMAIL PROTECTED]

Re: [PHP] row pointer

2002-06-14 Thread Zac Hillier
[$key] . ), ; } else { echo 'no index set for keyword, word = '.$val.' index = '.$key.'br'; } - Original Message - From: John Holmes [EMAIL PROTECTED] To: 'Zac Hillier' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 14, 2002 6:42 PM Subject: RE: [PHP] row pointer Keep track

Re: [PHP] row pointer

2002-06-14 Thread 1LT John W. Holmes
]; Analysis Solutions [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 14, 2002 5:54 PM Subject: Re: [PHP] row pointer John, Dan All, Thanks for your response, perhaps if I tell you more of the story then it'll make more sense. I'm afraid I seem to have an ability for asking cryptic questions