Jump to content

amirreza99

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by amirreza99

  1. 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.
  2. hi every body. i want a loop that takes and shows more than one record from database. and then i want to show these to user by ajax. indeed i made an html page that when user arrives at end it must do this. first i made loop that took one record from database and it worked fine. but for taking several records it went wrong. this is my html file that has interact by user webgoo-ajax.html and this is my php file that interacts by database ajax-get.php when user arrives at end of page naturally ajax must be run and show several records to user.but it does'nt. first it stays idle for 3 minutes and then loads my first record extremely. and a point: if these pages does'nt work on IE it will work on Firefox because it did'nt worked in IE for me too. i just want a for loop that work correctly for my need. thank you for everything
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.