Well, I know what I need to do but Im not sure how I would do it in PHP 🙁
Anyway, I have a string like this:
++"Hello, This is a "STRING". and it is very very 'cool' dont ya think?++"
Now, inbetween the ++" i would like to add slashes and also replace ++" with just "
Pseudocode:
Look for a ++" then store where it is in a variable
Look for another ++" then store it in a varialbe
So now I have a start and finish
Then somehow take whatever is in between variable1 and variable 2 then addslashes()
then put it all back to gether again... Anyone know how I can do this?
Thanks in advance - Matt