- Original Message -
From: "John Nichel" <[EMAIL PROTECTED]>
To: "PHP General"
Sent: Friday, March 03, 2006 2:30 AM
Subject: Re: [PHP] Only 4 of 5...
Gustav Wiberg wrote:
Hi there!
What's wrong here??
You're pulling the first row here
i
Gustav Wiberg wrote:
Hi there!
What's wrong here??
You're pulling the first row here
if (intval($frmIDModel)>0) {
?>
Visa telefonbilder för :
0) {
$dbNameManufacturer = $dbArray["nameManufacturer"];
?>
Visa telefonbilder för :
Alla telefonbilder i arkivet:
So now there are only
- Original Message -
From: "Thorsten Suckow-Homberg" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Thursday, March 02, 2006 11:13 PM
Subject: Re: [PHP] Only 4 of 5...
Because of this:
$dbArray = my
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Thursday, March 02, 2006 11:15 PM
Subject: RE: [PHP] Only 4 of 5...
[snip]
while ($dbArray = mysql_fetch_array($querys)) {
$dbIDPic = $dbArray["IDPic"];
$dbPicNameSmall =
[snip]
while ($dbArray = mysql_fetch_array($querys)) {
$dbIDPic = $dbArray["IDPic"];
$dbPicNameSmall = $dbArray["picNameSmall"];
?>
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Because of this:
$dbArray = mysql_fetch_array($querys);
This will fill $dbArray with the first row fetched from the table. 4 are
left which you are calling in your loop at the end of your code example.
What's your reason anyway to call mysql_fetch_array() here?
Delete this line and I'd bet
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>;
Sent: Thursday, March 02, 2006 11:05 PM
Subject: RE: [PHP] 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
[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?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo