fetching only new rows from mysql with jquery ajax

Posted by testkhan on Stack Overflow See other posts from Stack Overflow or by testkhan
Published on 2010-06-02T15:35:01Z Indexed on 2010/06/02 15:44 UTC
Read the original article Hit count: 140

Filed under:
|

i have a table named news with 3 fields i.e (id, news, time) and i have a setInterval after every 3mints to fetch news from google or any news site ....

now i want to fetch only new rows inserted after every 5 minutes...with jquery $.ajax()...how can i do that...

do i reload the whole table or there is a way to fetch only the new ones...

© Stack Overflow or respective owner

Related posts about php

Related posts about jQuery