Re: MySQL - PHP - limits...

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

 



Alex Ortiz wrote:
Hello.

Is there a records limit when browsing (a sql SELECT) in PHP from a MySQL table?

no limit on php side, perhaps 2^31 if you do calculations.


I´m browsing a table with PHP from MySQL, and something is wrong, if the table has more than 5047 records, the browse appears blank. Additionaly, if make the browse in a child window (target="_blank"), the limit becomes lower: 437 records.


My SQL query is:

SELECT * FROM my_table ORDER BY my_order_index

The way I "solve" the problem is adding LIMIT 5047 to query (or 437), just for testing. This works fine.

Echo out your sql query and see if you get what you should.

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