Few days ago, Sir AnthonySterling replied to my question to make feed from static page.
I am thankful to him.
Well, now I am eager to know this,
If I am making a search page, and I simply want to show recent 10 searches, then how could I do that?
I don’t want to store all data going into the sql database.
Just the recent 10 ones should be stored and if the data has 10 records already the old data should be deleted and new 1 inserted.
Is there any way to do this?
Thanks for your help.
But, if I do that, then the IDs would vary automatically.
I mean, ID=1 to 10 are assigned at first time of allocation.
Than when I insert new one after deleting the 10th item, then the ID would be 11, not 1.
This is not good in SQL…
Or is there any other method to sort out this problem also?
Thanks you sir for sorting out my problem again this time.
And also, My Special Thanks to r937 and Kalon, because you are also helping me everytime and suggesting me the new ways.