PHP Special character output help.?

Krasi

New member
I have this little script here and i am trying to make it find a piece of code on another page and display that result but the problem is that there is javascript in the code and when i tell the script to look for that code he gives me an error for not closing function or tags. please help


********************************
$snoop->fetch($url);
$res = $snoop->results;

preg_match_all('/<a href=\wimpy_addTrack(true,'(.*)\'>/i',$res,$match);
**************************************
The problem is with this part [ wimpy_addTrack(true,' ]. That piece of code should remain unchanged but php wont compile it :(

Any help is appreciated.
I already tried with \ \n and quotes and double quotes with no luck :(
Yahoo cut off my function but its complete in my code :(
 
Back
Top