On Sat, 14 Aug 2004 01:52:31 -0500, Brent Clements
<[EMAIL PROTECTED]> wrote:
> How does one get the size of a mysql table using php? I tried taking a look at how 
> phpmyadmin does it but got lost in the code. Anyone have any simple or elegant ways 
> of doing this?


show table status like 'table_name';

size = Data_length + Index_length


-- 
Greg Donald
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to