I have 6 document files and some file has ' each line in text about 1000 lines. :eek: I want to clear all ' each line and I save all files same folder, how should I do? 😕
you may use regular Expressions to erase certain letters or strtr
Please learn to write. We can guess what you are asking, but you make it difficult.
What you are looking for is fread, fopen, fwrite and str_replace I think. Look at the manual at php.net for these functions.
thanks a lot. I will try and if I can't make process, I will ask again. 😉
I'm empty now. help me please. This morning is underline. help me please.
I want to clear all ' like this
'455554 '477474 '569654 '478547 '457854
to
455554 477474 569654 478547 457854
What should I do?
open() the infile, fopen() the neww outfile, fread() the infile, str_replace() the lines and fwrite() the new lines to the outfile.