![]() |
Need help...
I want to select the post count from userid 1 i have tried to use this and its not working :(
Quote:
Thanks Dan |
SELECT posts FROM `user`WHERE `userid`=1 LIMIT 1
|
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"; |
If your doing it via a plugin or custom vB page you can use:
PHP Code:
PHP Code:
|
im doing it from 3rd party script
|
Use the second block of code I posted then, that should work.
|
yey! thanks it works!
|
All times are GMT. The time now is 04:30 AM. |
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:
|