Show Table Status question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ken Elder

    #1

    Show Table Status question

    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 $dateLastUpdate d?

    Thanks!
    Ken Elder


  • Ken Elder

    #2
    Re: Show Table Status question

    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" <kenelder@cox.n et> wrote in message
    news:kwL_c.2127 9$xu6.11782@oke pread02...[color=blue]
    > I need to place the date a MySQL table was last updated into a PHP[/color]
    variable.[color=blue]
    > 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 $dateLastUpdate d?
    >
    > Thanks!
    > Ken Elder
    >
    >[/color]


    Comment

    Working...