Jump to content

IF CASE help!


Monkuar

Recommended Posts

Hi, I have the following code:

 

 case "Twitter";
        echo 'Twitter gadget will show here';
   break;

 

 

I  need to make it so it's like this:

 

case "Twitter" AND $member['top'] == "1"
echo "Twitter Gadget will show here";
break;

 

 

I need to add a IF onto the CASE is it possible?

 

Thank you.

Link to comment
https://forums.phpfreaks.com/topic/252114-if-case-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

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.