![]() |
[sql]$fields = $vbulletin->db->query_first("SELECT * FROM userfield
WHERE userid = '" . $userid . "');[/sql] |
Kirk/Enigma: Does fetch_userinfo() not fetch custom fields?
|
I've never used it, you may be right.
|
Quote:
- Pc1203 |
If Opserty is correct in you being able to simply use $userinfo['fieldX'] in place of the query I suggested, you don't need to worry about cleaning the $_GET superglobal.
|
Yup, Opserty is correct. So I don't have to worrie about anything then, right?
- Pc1203 |
No, as long as you're not querying anything more.
|
Ok, and for future reference here is the source:
Code:
<?php - Pc1203 |
PHP Code:
PHP Code:
|
All times are GMT. The time now is 05:50 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:
|