09-24-2016, 11:31 AM 
		
	
	
		When you make that change, you are essentially going from html here:
</li>
to php and then back to html and then back to php and back to html. Each time you need to make sure you close php and reopen it. So, instead of ...
It should be
  See how I closed php?
 I went back to standard html
  Then I opened php put a } and closed it to complete the if statement
  Then went back to regular html.
I hope that helps.
	
	
	
	
</li>
to php and then back to html and then back to php and back to html. Each time you need to make sure you close php and reopen it. So, instead of ...
Code:
<?php if (checkMenu(2,$user->data()->id)){Code:
<li class="purple"><a href="/sani/admin/erstellen.php">Erstellen</a>Code:
</li>Code:
} ?>It should be
Code:
<?php if (checkMenu(2,$user->data()->id)){ ?>Code:
<li class="purple"><a href="/sani/admin/erstellen.php">Erstellen</a>Code:
</li>Code:
<?php } ?>Code:
</ul>I hope that helps.

