RE: Only 4 of 5...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
 while ($dbArray = mysql_fetch_array($querys)) {
      $dbIDPic = $dbArray["IDPic"];
      $dbPicNameSmall = $dbArray["picNameSmall"];
      ?>
      <img src="phonepics/<?php echo $idModel;?>_<?php echo
$dbPicNameSmall;?>" alt="testbild från mobil" border="1" width="120"
height="130">
      <?php
[/snip]

Is $dbIDPic an integer? Does it start with 0 or 1?

Try 
$dbArray = mysql_fetch_array($querys);
For($i = 0, $i < count($dbArray), $i++){
	echo $dbArray[0] . "\t" . $dbArray[1] . "\n";
}

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux