Strange query

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

 



Hi,
I am running this query from my script:

  $query = "select gallery_url,description from members limit
".$limit[0].",".$limit[1];

the first time: limit 0,15
and the second time: limit 16,30


the problem is the first time I am getting 15 rows returned (as expected)
the second query of
select gallery_url,description from members limit 16,30
is returning 17 rows!!

I've even tried it within phpmyadmin and its giving me 17 rows....what am I
missing here?

Thanks,
Ryan

-- 
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