----- Original Message -----
From: <jblanchard@xxxxxxxxxx>
To: <gustav@xxxxxxxxxxxxxx>; <php-general@xxxxxxxxxxxxx>
Sent: Thursday, March 02, 2006 11:05 PM
Subject: RE: Only 4 of 5...
[snip]
I have 5 posts in the table, but the images shown are only four! Why?
[/snip]
Are you counting starting with 1 or 0?
Don't understand your question... I have 5 posts in the table, but I'll only
retrieve 4 posts when going through the array... like this...
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
}
/G
.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php