How to get the link of .html
after the .$obj->product_name.
?
I have tried it as bellow. But it only shows the link of http://.com/forbiden
insted of http://.com/forbiden rice.html
where it cuts the rice.html
echo '<span class="product-name"><a href=products/'.$obj->product_name ."html". 'target=_blank>'.$obj->product_name.'</a></span></br>';