It is easy to find last row from table. The below query can be used to get last row from table.
$sql="select * from <table name> order by <field name> desc limit 1"
It displays one last row from table.
More Articles...
Blog about Web development, SEO, Online business, Software Testing and Tech News.
Emerging Tech eBookeBook useful for knowing about Emerging Technologies and earning money with them.Motivational QuotesGet Quotes for Motivating and Inspiring everyone. You can get both text Quotes and Image Quotes. |
No comments:
Post a Comment