By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,681 Members | 1,854 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,681 IT Pros & Developers. It's quick & easy.

Show Table Status question

P: n/a
I need to place the date a MySQL table was last updated into a PHP variable.
SHOW TABLE STATUS provides lots of information, including update_time, for
all of my tables. But how do I assign the value of update_time for my
"members" table into the variable $dateLastUpdated?

Thanks!
Ken Elder
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I figured out the answer to my own question above. But the value of
Update_time looks something like this: 2004-09-04 12:31:26. How do I
convert it to September 4, 2004? I've look for and played around with PHP
and MySQL functions, and nothing seems to do it.

Ken Elder

"Ken Elder" <ke******@cox.net> wrote in message
news:kwL_c.21279$xu6.11782@okepread02...
I need to place the date a MySQL table was last updated into a PHP variable. SHOW TABLE STATUS provides lots of information, including update_time, for
all of my tables. But how do I assign the value of update_time for my
"members" table into the variable $dateLastUpdated?

Thanks!
Ken Elder

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.