"SELECT SUM(size) FROM sometable WHERE user=someuser"
Hope this helps
/Lars Olsson ([EMAIL PROTECTED])
PS. Ive done this in a file upload script I created a while ago. If you want, I can mail you the relevant bits and bytes. DS.
Denis L. Menezes wrote:
Hello friends. I have a need for checking how much data(in kb) exists of each of the user members in the MySQL so that when they upload more data I can restrict/warn them of the amount of data they have on the server at present.can anyone please tell me how to check the amount of data on the mysql for each record? thanks very much Denis
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php