The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I want to select the post count from userid 1 i have tried to use this and its not working
![]() Quote:
Thanks Dan |
|
#2
|
|||
|
|||
|
SELECT posts FROM `user`WHERE `userid`=1 LIMIT 1
|
|
#3
|
|||
|
|||
|
Thanks, its getting somewhere but when u put it in as PHP code it shows the value as 0 when it should be 88
Code:
$querya="SELECT posts FROM `user`WHERE `userid`=1 LIMIT 1"; |
|
#4
|
|||
|
|||
|
If your doing it via a plugin or custom vB page you can use:
PHP Code:
PHP Code:
|
|
#5
|
|||
|
|||
|
im doing it from 3rd party script
|
|
#6
|
|||
|
|||
|
Use the second block of code I posted then, that should work.
|
|
#7
|
|||
|
|||
|
yey! thanks it works!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|