Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
I have a field in my database called editdate. I want to be able to show my users when the database was last updated. Is it possible to put this information somewhere on the top of the list where it captures the most recent date in the field editdate?
Astrid,create a PHP code snippet on the Visual Editor tab.Here is a sample code:
$rs=CustomQuery("select max(editdate) as mx from TableName");if ($data=db_fetch_array($rs)){echo "Last update: ".$data["mx"];}else {echo "";}
Ann,Thx! You're the best!Kind regards,Astrid