Reply to Re: Large query results - Limiting the data, but still knowing the full row count - How?

Your name:

Reply:


Posted by cluthz on 06/17/07 12:57

In fact, I Cannot even get it to work when using a simple query from PHP
myAdmin.

For example, I try and enter the following basic sql query and get the
following MySQL error (using sql 4).

SQL query:

SELECT SQL_CALC_FOUND_ROWS , arbitratry_field
FROM mytable
LIMIT 0 , 30

MySQL said:

#1064 - You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near '
ac_arbitratryFROM mytable
LIMIT 0, 30' at line 1

What is a basic example that should work or am I doing something obviously
wrong?

Thanks again.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация