i have a javascript file
document.write('<A HREF="http://smallbusinesses.blogspot.com/archives/2003_11_01_smallbusinesses_archive.html#106900822763182333#">'); document.write('The Market Wasn't Ready'); document.write('</A><BR>');
i need to add a slash before the ' in The Market Wasn't Ready, I tried the addslashes function but no such luck, i also tried str_replace, any thoughts
Thanks
Use two slashes ...
document.write('The Market Wasn't Ready//');
ok but how can i add the slash with php?
Oh, Ok.
// This will give you 1 slash ... echo "//"; // This will give you 2 slashes ... echo "////";
Actually, shouldnt echo "//"; give 2 slashes and echo "////"; give 4?
Doh!
Of course. I was thinking of backslashes!!
Pardon me!