Jump to content
Sign in to follow this  
Hadeszeus

Profile Types PHP Condition?

Recommended Posts

Hadeszeus

In Account manage page. How can I code in PHP to display only the section I want depends on profile types?
 
For example I have 2 profile types
 
B1 and B2
 
When B1 account is login I will display Hi else display Hello for B2.
 
 

if ($user['User']['ProfileType']) == 1) {
echo 'Hi';
}
else {
echo 'Hello';
} 

 
 
 
Thanks in advanced!

Edited by Hadeszeus

Share this post


Link to post
Alejandro

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
Hadeszeus

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Share this post


Link to post
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.