Ich habe das Problem, dass manche Menü Punkte Doppelt angezeigt werden. Laut PHP Datei ist alles in Ordnung....
Screen:hilfe.PNG
PHP:
Code
<nav>
<?php
$req = $bdd->query('SELECT * FROM users WHERE rank > 1');
while($don = $req->fetch())
{
?>
<li><a href="/admin/index/">Dashboard </a></li>
<?php
}
?>
<?php
$req = $bdd->query('SELECT * FROM users WHERE rank > 3');
while($don = $req->fetch())
{
?>
<li><a href="news.php">News </a></li>
<?php
}
?>
<?php
$req = $bdd->query('SELECT * FROM users WHERE rank > 4');
while($don = $req->fetch())
{
?>
<li><a href="bestellungen.php">Bestellungen </a></li>
<?php
}
?>
<?php
$req = $bdd->query('SELECT * FROM users WHERE rank > 2');
while($don = $req->fetch())
{
?>
<li><a href="support.php">Tickets </a></li>
<?php
}
?> <?php
$req = $bdd->query('SELECT * FROM users WHERE rank > 1');
while($don = $req->fetch())
{
?><ul>
<li><a href="index.php">Homepage </a></li>
<?php
}
?>
Alles anzeigen