Thank you for answer;but i changed comparation of variables as you said and it loaded only first record just like first time,that i told it in post above.
Totally my problem is that i want to make a page that user visits and when user arrived at the end of page it loads several records from database at the continuance.but it's not enough to fetch one record from database,it must be several to strech lenght of page to give user an space to arrive at the end of page again.
You can see my mean at yahooanswer.i want to do like that exactly.
I just want a solution to make this.and i think it doesn't need mysql commands.just maybe you dont get my question.
and thank you again
and another question wich type of array i must use?fetch array or fetch assoc?maybe this made my code wrong.