Need help formatting Snippet

[php]<?php if($user_meta['gcc_membership_status'][0]=='active'){ ?>

<?php if($user_meta['gcc_membership_expire'][0]=='2016-12-31 23:59:59'){ ?> 2017-03-31 00:00 <?php } else{ ?> <?=ucfirst($user_meta['gcc_membership_expire'][0]);?> <?php } } else { ?> - <?php } ?>[/php]

Need more than just a title and code dump, dude.

It looks like there are about 4 functions that need to be modified to add an additional field.

and some basic programming 101 techniques, for if statements are in every programming language. I like using descriptive variables, but I even find those a little long. ;D

Sponsor our Newsletter | Privacy Policy | Terms of Service