![]() |
Display total count of certain attachment type
I would like to display the total number of .txt files attached on my forum. Is there a way to accomplish this?
EDiT: Got it using this. Code:
"SELECT COUNT(extension) AS total FROM " . TABLE_PREFIX . "attachment WHERE extension='txt'" |
All times are GMT. The time now is 02:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|