If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
Hello,
I want to replace a string that contains these characters: < > "
I'm guessing that I can't simply enclose the string between ' and '
How do I do it?
For example, I'd like to run this query:
UPDATE xcart_products
SET fulldescr = REPLACE(fulldescr,'<param name="movie"','<param name="wmode" value="opaque"> <param name="movie"')
I didn't test then but I did now this way: I located an empty column in the db with the same properties as the column with live data, and added a row with the string: <param name="movie"
It worked, so I'm confident to run it on the live data. Thank you!
Actually, I will start doing this simple method to test queries and learn more quickly now! Thank you.