I have a basic php script that queries the overture database and generates a single text file with results. I would like to expand this script to take this initial file, and query the overture database for each keyword/phrase in the initial file and produce an additional text file of overture results based on that keyword/phrase. The script will need to generate a text file of overture results for each keyword/phrase in the initial file until it reaches the end of the file.
A bonus would be for the script to do the same sort of query for each keyword/phrase within each of the newly generated text files. Please bid this as an additional line item.
The basic file is attached. This script echos the results and also generates a text file. The script I would like developed only requires a form to enter enter the initial keyword or keyword phrase and, maybe, an on-screen echo of each new text file created and the number of keywords/phrases generated for that new file.
I am open to all suggestions on how to elaborate this script, so please use your imagination to extend this very basic request.