i don't have a mac but it seem like there was lots of help here.
this question is about php:
i want to know how to get rid of the \ befor every '.
now i will give you the situation:
i have made it so my firend can update his news on his webpage throught the browser . i made it so he inputs the date and i writes it to a file and then he inputs the new news and then it writes to another file and then he puts in his sig and i puts in into a nother file. then he sends it. the files then are taken into seperate arrays, then i used the implode functio to change them to strings then i brought the old news into an array, then i used the array_unshift to add all the new information into the old news, then i used the implode function on that, then i wrote over the file with the new string i hade which included the old news and the new news.
then the file is read into a seperate page
when it comes up on the page if i hade "wasn't" it would come up as "wasn\'t". what can i do to stop that from happening?
this question is about php:
i want to know how to get rid of the \ befor every '.
now i will give you the situation:
i have made it so my firend can update his news on his webpage throught the browser . i made it so he inputs the date and i writes it to a file and then he inputs the new news and then it writes to another file and then he puts in his sig and i puts in into a nother file. then he sends it. the files then are taken into seperate arrays, then i used the implode functio to change them to strings then i brought the old news into an array, then i used the array_unshift to add all the new information into the old news, then i used the implode function on that, then i wrote over the file with the new string i hade which included the old news and the new news.
then the file is read into a seperate page
when it comes up on the page if i hade "wasn't" it would come up as "wasn\'t". what can i do to stop that from happening?