I want the script to randomly pick a text entry from a few files and combine it into a new text entry.
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.
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