I'm trying to place a profile field (if conditional field# would be field24)... Only one custom profile field, so why won't this code work?
PHP Code:
$db->query_read("
SELECT 24, required, title, type, data, def, height
FROM " . TABLE_PREFIX . "profilefield
WHERE form = 0 "
ORDER BY displayorder
");
That code gives me the following lines on the code I placed it in:
HTML Code:
Parse error: parse error, unexpected T_STRING in /home/cxchris/public_html/x/online.php(417) : eval()'d code on line 5
Parse error: parse error, unexpected T_STRING in /home/cxchris/public_html/x/online.php(417) : eval()'d code on line 5
Parse error: parse error, unexpected T_STRING in /home/cxchris/public_html/x/online.php(417) : eval()'d code on line 5
Parse error: parse error, unexpected T_STRING in /home/cxchris/public_html/x/online.php(417) : eval()'d code on line 5
Parse error: parse error, unexpected T_STRING in /home/cxchris/public_html/x/online.php(417) : eval()'d code on line 5
Parse error: parse error, unexpected T_STRING in /home/cxchris/public_html/x/online.php(417) : eval()'d code on line 5
It's in a plugin code on the "online_user" hook!