$timeupdated = $db->multi_query('SELECT UPDATE_TIME FROM INFORMATION_SCHEMA.TABLES WHERE `TABLE_SCHEMA` = "dbname" AND `TABLE_NAME` = "tablename"'); if ($timeupdated == -1) echo "No Update Time Found"; //returns -1 without this else{ $timecreated = $db->multi_query('SELECT CREATE_TIME FROM INFORMATION_SCHEMA.TABLES WHERE `TABLE_SCHEMA` = "dbname" AND `TABLE_NAME` = "tablename"'); echo $timecreated;} echo $timeupdated;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)