I got this navigation bar and i dont know how to convert it from HTML to PHP. Can somone help me?
The HTML is
<nav>
<div id="menubar">
<ul id="nav">
<li class="current"><a href="index.php?pg=1">Home</a></li>
<li><a href="rpg.php?pg=2">RPG</a></li>
<li><a href="sports.php?pg=3">Sports</a></li>
<li><a href="strategy.php?pg=4">Strategy</a></li>
<li><a href="android_ios.php?pg=5">Android/IOS</a></li>
<li><a href="nice_to_try.php?pg=6">Nice to try</a></li>
</ul>
</div>
</nav>
I'm just beginner in PHP and im trying to learn the code, i searched it up on google but i couldnt figure out how to apply it to my code. Thank you in advance!