I got 2 fiels with information on both i need to put the information all in one file useing loop. how the hell do I do that, I have 2 files one named p21 the p22 and now in a looping structure i need to print an output of thei nformation on both files into one file

Please help!!!!
ok
the first file is this

dave 734
bob 313
carol 248
mary313
ted248


the second file is
bob tuesday
carol monday
ted sunday
alice wed
dave thurs

the output has to be

name on call phone
carol mon 248
bob tues 313
alice wed 616

etc...

i need to put this in one file using looop structure
i have no clue how to do this
i made the 2 files and now im just confused and really depressed. i cant seem to fig out wat to do next

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.