![]() |
How to call $userinfo[textfield] in functions.php when field is from the 'user' TABLE
Hi,
I added a field to that is in the user table, and is varchar(20) to an if/else statement in functions.php It looks like PHP Code:
I have tried $post, $bbuserinfo, and $userinfo in front of the [textfield] in the PHP above and it hasn't worked any of the times. Is what I am trying to do possible??? Please HELP! :( |
I don't see anything immediately wrong, but you desperately need to indent correctly. Your code is next to impossible to read...
|
I copied and pasted it from notepad and didn't realise that. Here's a better one...
PHP Code:
Is there any reason why this wouldn't work? This is exactly what I am doing and it is not working at all. I placed this code in the functions.php if that helps.. I will try to mess around some more with it but I think there is something I'm missing... :( |
Got it now. It was an easy fix. Thanks. :)
|
All times are GMT. The time now is 09:57 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:
|