php - How to call varying urls in Magento -


what have in mage site is:

echo "<div class='block-content'><ul>";     foreach($listeditems $optionid => $value) {         echo "<li class='item'><a href=".mage::geturl()."catalogsearch/result/?item=".$optionid.">" . $value . "</a></li>";     } echo "</ul></div>"; 

but want echo matching url instead of list of search result items.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -