if (iMEMBER) {
CODE FOR MEMBERS
}
$result = dbquery("SELECT foat_access FROM ".DB_FOAT." WHERE foat_id='1'");
$data = dbarray($result);
$access = $data['foat_access']; // foat_access is set to iMEMBER
if ($access) {
CODE FOR MEMBERS
}
Quote
smokeman wrote:
But this ain't working - guests still can see it - and I really can't see why it wont work... ? The output from foat_access is saying iMEMBER.
if (iMEMBER && $access) {
CODE FOR MEMBERS
}
if (iMEMBER && $access=="iMEMBER") {
CODE FOR MEMBERS
}
if (iMEMBER && $access == "iMEMBER") {
// Code for Members
}
Quote
iGUEST
iMEMBER
iADMIN
iSUPERADMIN
if (checkgroup($access)) {
//your code
}
Category Forum
Panels and InfusionsLabels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions