Therefor, add a mysql_data_seek($this-result,0) to reset the pointer.
Furthermore, instead of the for-next loop, I would use while ($row =
mysql_fetch_row($this-result).
Edwin
Foong wrote:
i guess the problem is the last line of your Query function:
$this-ligne =
i guess the problem is the last line of your Query function:
$this-ligne = @mysql_fetch_row($this-result);
this line fetch the first row of the result.
therefore, when you call afficheResultatRequete(...)
you start from the second row of the result.
Foong
F.Collineau [EMAIL PROTECTED] wrote