I need a script that will export oscommerce orders from MYSQL to CSV by cronjob so that they can be obtained using FTP.
The script needs to have editable variables to say which database it should connect to and amount of days i want to download.
I also want to be able to set the path for saving the file
The information i need extracted and how it needs to be presented can be obtained from [url removed, login to view]
I can provie a copy of my database structure for you to see the layout if required.
The output product title will need to include the product title and product attribute
The script should produce no output apart from the csv file