simple script to read and combine files

I want the script to randomly pick a text entry from a few files and combine it into a new text entry.

For example:

file 1: has thousands of entries of phone numbers, each record is a phone number

file 2: has a list of names, each record is a name

file 3: has a list of addresses, each record is an address

file 4: has a list of text comments, each record is a comment

file 5: .........

A click of a button, the script will randomly select a phone number, a name, an address, and a comment and combine into a new text entry that can be easily copied. Then click the button again, a new text entry will be created and displayed.

All are text entries, however you must keep the special characters, spaces and line breaks in each record. Just read it and combine it into a new piece. I will need to copy the new text. For example if there are 10 spaces and a line break after each phone number in the record, you must keep it that way. The comments may have multiple paragraphs you must keep the line breaks and spaces and show in the combined text.

Prefer it can handle up to 10 files or databases. Can do it through PHP/MySQL or other methods.

Let me know if you have questions.

forgot to mention, i also need a entry form to enter the record. Each file will only have one record. Such as a form for me to enter new phone numbers and save to the database.

Skills: PHP

See more: php file combine, c read example, simple script files, names and phone numbers, read, read and, combine, mysql read files, list phone numbers addresses, phone list names numbers, file multiple files, php read text file, php list files, list phone numbers need name, select numbers randomly, example mysql script, text line breaks, mysql combine, script php phone, script read, simple multiple, mysql combined, php read file, break text file multiple files, list phone numbers names

About the Employer:
( 55 reviews ) Coral Gables, United States

Project ID: #1274051

Awarded to:


I can do this for you. See PM for details.

$30 USD in 1 day
(96 Reviews)

5 freelancers are bidding on average $36 for this job


Hi there, The best way to do this is using a MySQL database and avoid using text files. I can do this for you in matter of hours. I look forward to hearing from you. Best, Mike

$50 USD in 0 days
(83 Reviews)

I can deliver this script in a short time, I have strong knowledge in php and your requirements are clear. Dracco.

$60 USD in 1 day
(126 Reviews)

Ready to work on this. Simple read write operations, keeping in mind erroneous characters,etc.

$30 USD in 1 day
(1 Review)

I am ready to work

$30 USD in 1 day
(0 Reviews)

Ok, am your man! I'm ready to start! Greetings!

$40 USD in 1 day
(0 Reviews)