Inspirats
Chevereto Member
Hello, I can get the number of image, user albums.
Can you help me get the space used as the dashboard
Thank you
Can you help me get the space used as the dashboard
PHP:
<?php echo CHV\DB::queryFetchSingle("SELECT COUNT(*) as total FROM " . CHV\DB::getTable('images'))['total']; ?>
<br />
<?php echo CHV\DB::queryFetchSingle("SELECT COUNT(*) as total FROM " . CHV\DB::getTable('albums'))['total']; ?>
<br />
<?php echo CHV\DB::queryFetchSingle("SELECT COUNT(*) as total FROM " . CHV\DB::getTable('users'))['total']; ?>
Thank you
Last edited: