Hello,
What i wanna do is the following: in a text file i have, let's say
12
21
i wanna read from this file and write in another text file, regarding to what i read from the 1st file: i wanna parse every line, and in the output file, in case of:
12
i write
123
132
321
, and regarding to the 2nd line from the input file (21), i write in the same output file:
213
231
321
So, the final output should be:
123
132
312
--
213
231
321
Is it possible to do this?
Regards,
read from a file and write in another file
Moderator: General Moderators
Re: read from a file and write in another file
yes it is possible... come on man.. that's basic.. you can google that directly..
Re: read from a file and write in another file
and what should i google?:)
Thanks
Thanks
Re: read from a file and write in another file
something like "How Read from a file in PHP" and like "PHP How to Write file"