MySQL Forums
Forum List  »  Newbie

Add the word "new" when table is updated.
Posted by: Mark Leiden Jr
Date: November 10, 2014 01:23AM

What I am looking to do is have the word "new" shown on a webpage when a table is updated.

So on the webpage, I have a list in a table format. When I update the table and have new items shown, what can I add to my current script (maybe an if statement?) to show that item is newer or recently added to the list.

So if the item in the list is older than (date), but newer than (date), display "New"

Options: ReplyQuote


Subject
Written By
Posted
Add the word "new" when table is updated.
November 10, 2014 01:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.