08-26-2017, 08:34 PM
The issue is in your navigation right? If so, please paste that.
Your issue is most likely this spacing you have in here
<? Php if (checkMenu (2, $ user-> data () -> id)) {?> <! - Link -> <? Php}?>
Try this:
Your issue is most likely this spacing you have in here
<? Php if (checkMenu (2, $ user-> data () -> id)) {?> <! - Link -> <? Php}?>
Try this:
Code:
<?php if(checkMenu(2,$user->data()->id)) {?><a href="#" Link</a><?php } ?>