Quote:
Originally posted by Vinney
bump.
|
Try to leave it at least one or two days before bumping threads.
PHP Code:
$customfield=$DB_site->query("SELECT field5,field9 FROM userfield WHERE userid='$bbuserinfo[userid]'");
while ($field=$DB_site->fetch_array($customfield)) {
$field5=$feild[5];
$feild9=$field[9];
eval("\$usercustomfield = \"".gettemplate('template_name')."\";");
}
Change template_name to the name of the template and create it with whatever formating and place $feild5 in that template for feild 5 and $feild9 in there for feild 9. Then in the main template for the page put in $usercustomfield where you want it to be displayed.