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
To: <[EMAIL PROTECTED]>; "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
] row pointer
> 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]]
; To: [EMAIL PROTECTED]
> Subject: [PHP] row pointer
>
> Hi
>
> I'm looking for a php function that will return the position of the
> pointer
> in a mysql recordset.
>
> I found mysql_data_seek, but this appears to only move the pointer, I
need
> to get the equivale
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
Hi
I'm looking for a php function that will return the position of the pointer
in a mysql recordset.
I found mysql_data_seek, but this appears to only move the pointer, I need
to get the equivalent row number for the pointer position before moving it,
then return to the same position.
Can anyon
6 matches
Mail list logo