![]() |
SQL query to count unread PMs?
I'm wondering if anyone has written a SQL query/PHP function to grab the number of unread PMs based on nickname/userid?
Looking to display this information outside of the vb template environment. Any help? |
Here a quick function I wrote.
PHP Code:
PHP Code:
|
It's stored in the user table ;
Code:
SELECT pmunread FROM user WHERE userid = 123 |
Lol, dammit. :(
|
do you know how to select thread titles with letter beginning exam: A ???
|
Use LIKE 'A%'
|
thank you administrator Paul :)
|
All times are GMT. The time now is 11:56 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:
|