I have a lifeearch script that I need to fill my html menu with information.
I have a menu that looks something like this:
<a href="?page=page&id=">Menu item</a>
what I'm looking for is a piece of code that will do this by reference:
<a href="?page=page&id=1">Menu item</a>
I have Javascript that pulls the value identifier from the database table (livesearch), now I only need it to get into href on the fly.
Any suggestions?
source share