need help getting url in a echo return.

I have this line of code that needs to be there for my ecommerce site. if (count($arrMaster)==0) return _sp(“Currently Out of Stock”);

I need to ad a url next to the text that is being displayed on the site which is Currently out of stock. a href=’/outofstock.php?needprod=$this->Title’>email Email me when item is back in stock

However when i try to do it as: if (count($arrMaster)==0) return _sp(‘Currently Out of Stock

email Email me when item is back in stock

’);

I get an error.

I also tried calling the url in as a function but I keep getting errors. Can any help with getting my url to work next to the text being called?

thanks

What error do you get? And can you also post the code in the “return _sp” function.

Sponsor our Newsletter | Privacy Policy | Terms of Service