$result2 = dbquery(
"SELECT * FROM ".DB_USER_FIELDS." tuf
INNER JOIN ".[color=#ff0000]DB_USER_FIELD_CATS[/color]." tufc ON tuf.field_cat = tufc.field_cat_id
ORDER BY field_cat_order, field_order"
);
if (dbrows($result2)) {
while($data2 = dbarray($result2)) {
if ($i != $data2['field_cat']) {
if ($ob_active) {
$user_fields[$i] = ob_get_contents();
ob_end_clean();
$ob_active = false;
}
$i = $data2['field_cat'];
$user_cats[] = array(
"field_cat_name" => $data2['field_cat_name'],
"field_cat" => $data2['field_cat']
);
}
// Multisite definitions
require_once BASEDIR."includes/multisite_include.php";
define("DB_USER_FIELD_CATS", DB_PREFIX."user_field_cats");
Category Forum
Upgrading issues - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions