![]() |
trying to access custom field
In a hack I'm building I'm trying to read a member's custom field using
$userfield12 = $DB_site->query("SELECT field12 FROM userfield WHERE userid = 1343"); and then echoing $userfield12[field12] but nothing returns, if I use just $userfield12 I get "resource id #20" which is odd. What am I doing wrong? |
use $DB_site->query_first
|
All times are GMT. The time now is 08:45 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:
|