Quote:
Originally posted by NTLDR
That is the whole query.
[sql]SELECT userid,field5,field9 FROM userfield;[/sql]
If in the postbit then yes.
|
it's not in the postbit, sorry i confused you. am trying to call the userfields for my own script.
PHP Code:
<?php
error_reporting(7);
require ('../../mainfile.php');
$index = 1;
global $Pmenu,$breadcrumb;
$Pmenu="";
$breadcrumb="Contact Helpdesk";
$defaultmessage = "Dear Helpdesk... \n\n - $bbuserinfo[username]";
$defaultemail = "$bbuserinfo[email]";
$defaultmembership = "???????";
$defaultexpiry = "??????";
//getvbpvars();
include("header.php");
if ($bbuserinfo[usergroupid]==6 || $bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==3 || $bbuserinfo[usergroupid]==11) {
eval("dooutput(\"".gettemplate('helpdesk_nologin')."\");");
} else {
eval("dooutput(\"".gettemplate('helpdesk')."\");");
}
include("footer.php");
?>
sorry i dont know the gargon, what $????? ( is it a called a variable ) to define each custom field, so that i can insert this in my template and they will be replaced with the members value when called.?