I need to give a link for a php code
'label' => $this->__('Best Sellers')
For the above link
I tried giving like this
echo <a href="http://new-design.html> $this->__('New Design') </a>
but it didnt work
It should be
echo "<a href='new-design.html'>".$this->__('New Design')."</a>";
You were missing the .
for PHP string concatenation (Look at this link for more info)
You were also missing a closing >
for the a
element.
Please note that this:
$this->__('Text here')
is only available in certain frameworks and won't work in normal php. If this doesn't work, try this:
echo "<a href='new-design.html'>New Design</a>";