![]() |
SOLVED cant fetch userid with bbuserinfo SOLVED
trying to fetch data from db using
$nowUser=$BBuserinfo[userid]; $data=db$->query_first("SELECT fieldEG1 FROM " . TABLE_PREFIX . "user where userid='".$nowUser."'"); but its comes up with '' empty of blank tags. tryed a test where i just went $nowUser=$BBuserinfo[userid]; and registered it into a templater and rendered it, called it in the template using vb:raw but it came up empty. so i though maybe add ' ' around userid but didnt change anything / same result.. any ideas ? --------------- Added [DATE]1263309183[/DATE] at [TIME]1263309183[/TIME] --------------- solved it $vbulletin->userinfo[userid] without the ' ' around userid works, if i add ' and ' around the result is null |
All times are GMT. The time now is 09:59 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:
|