I need a simple php script written and tested by developer on their local machine. When called by browser script must do the following:
1. Read and select only one (1) random row from .csv file containing the following fields:
Field 1: celebrityname
Field 2: celebrityphonenumber
Field 3: celebritycomments
2. Insert these values into MySQL database tables named:
celebrityname
celebrityphonenumber
celebritycomments
3. When all rows in .csv file have been read & inserted, script must send an email alert that .csv file needs changed.
i can make such script, suppose 100 fileds are in csv, it will seclect randomly oe by one and will save in db and once all 100 fields selcted it will send mil to change the csv