I am new to programming and i was trying to write a PHP code that could.
1)Create a new file.
2)Add content from two files into that file.
Here is an example of what i am trying to do.
1)I have two files one.txt and two.txt.
2)Content of these two file is as follows.
one.txt=abc123
two.txt=def456
3)I want the following result in result.txt.
abc123
this is the result file.
def456
I have tried doing it alot of different ways that i knew but could not make it work. I am a beginner so having trouble getting started. Thanks.