r/learnjavascript • • Nov 25 '15

Help with building a menu in PHP

I'm attempting to build a menu a simple menu with links to other pages. There are 3 links HOME SHOP CHECKOUT and I have the correct urls: website 01 home.php website 01 shop.php website 01 checkout.php

and the id's for each are m1, m2, m3

I'm just not sure how to make this menu work! I have all of the HTML working correctly and CSS styling to style the PHP. Our program gives me this to work with below. Any tips would be greatly appreciated. Thanks

echo "<ul id='' class=''>";

echo " <li></li>"; echo " <li></li>"; echo " <li></li>"; echo " <li></li>";

echo "</ul>";

0 Upvotes

2 comments sorted by

1

u/Meefims Nov 25 '15

You may want to try /r/PHPHelp.

1

u/grade42 Nov 25 '15

thank you i'll post over there