Re: SELECT

From: Date: Thu, 04 Mar 2004 12:58:49 +0000
Subject: Re: SELECT
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-33295@lists.php.net to get a copy of this message
peppe schrieb:
    for ($row =1; $row <= $numRows; $row++) {
          $rowArray = mysql_fetch_array($result);
    $access1   = $rowArray[1];
Hi Peppe,
although I don't know the function mysql_fetch_array()... why you use $rowArray[1], which is the first element (if $rowArray is of type array). change it to $rowArray[$row]. Torsten

« previous php.db (#33295) next »