hello friends i'm using the boostrap menu for my website it was fine until i wanted to get menu element from database so u got the syntax error unexpected '<' in line 3 and the line 5, 6, 7, 9, 10, are shown red in my IDE i gues if i solve the line 3 i will get the same message for that lines too !
<?php
while($row=mysqli_fetch_array($sqldonee, MYSQLI_ASSOC)){
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Separated link</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
?>