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
Post a Comment