Jump to content

karlmarsh05

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

karlmarsh05's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi there, I currently use a script that collects some contents from a div box, in this case it collects categories with the links still attached. The problem is that the script ends abruptly if the character ' is within the text it is collecting (e.g. phone's). Is there a way of adding the character to the following code so that it does not recognise the character as an official php character. //### Function to remove anything we don't need, and apply the Ebay URL to the href's function removeStr($val,$numbers,$listed) { $val = preg_replace(array('/<\/span\>/','/<\/li>/','/<span class="cnt">/','/href="/'),array('','','','href="http://stores.ebay.co.uk'),$val); Thanks for any help. Karl
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.