mysql - Wordpress (database); Show last modified date? -


When my MySQL-database was updated, how can I show the last modified date?

(I know that there is a plugin to show the latest revised date for the post / page, I want to do this, but show that the field / metadata was updating)

Thanks for the answer "/ P>

OK, solve it.

  & Lt ;? php global $ wpdb; $ result = $ wpdb- & gt; get_results (show 'table_name'; '' like show table status from database table); Foreach (dollar result as $ result) {$ updatetime = $ data-> Update_time;} $ date = substr ($ Updatetime, 0, -3); Echo $ date;? & Gt;  

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -