EMAIL PROTECTED]
Subject: RE: [PHP] MySQL arrays
>CHANGE:
> > $len = sizeof($this->query_id);
> > $len++;
> > $this->query_id = array($len=>&$q);
> > mysql_free_result($q);
> > return $len;
>
>TO:
>
>CHANGE:
> > $len = sizeof($this->query_id);
> > $len++;
> > $this->query_id = array($len=>&$q);
> > mysql_free_result($q);
> > return $len;
>
>TO:
> $this->query_id[] = $q;
> return sizeof($this->query_id);
>
>second:
>$q is a resource, th
CHANGE:
> $len = sizeof($this->query_id);
> $len++;
> $this->query_id = array($len=>&$q);
> mysql_free_result($q);
> return $len;
TO:
$this->query_id[] = $q;
return sizeof($this->query_id);
second:
$q is a resource, that is, a pointer var
Sorry my mistake the array is $this->query_id the function is $query I still
get the same results though.
>From: Rick Emery <[EMAIL PROTECTED]>
>To: 'Anzak Wolf' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: RE: [PHP] MySQL arrays
>Date: Tue, 26
how can you take a size of a function: $len = sizeof($this->query);
and WTF (query is a function, not an array): $tq = &$this->query[$q_id];
-Original Message-
From: Anzak Wolf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 9:09 AM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL arr
5 matches
Mail list logo