Afficher un message
Vieux 04/05/2006, 08h18   #3
andrea azzini
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: found_rows() everytime returns 1

You haven't use the SQL_CALC_FOUND_ROWS.
In the manual you can find "If the preceding SELECT statement does not
include the SQL_CALC_FOUND_ROWS option, then FOUND_ROWS() may return a
different result when LIMIT is used than when it is not."
If you can, try with this option.

p.s. i use on my server mysql 5.0.18
--
Andrea

  Réponse avec citation
 
Page generated in 0,03841 seconds with 9 queries