Fri, 17 May 2024


How to know when the data in MySQL table was last updated?

By: Anton, NetArt Media
Tue, 3 August 2021

<?php
...
$dataArray = mysql_fetch_array(mysql_query("show table status from databasename like ‘tablename’"));

echo $dataArray["Update_time"];
...
?>


Category: PHP Examples
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox