Process A .csv File With Php
I have a php script that runs a number of functions against a .csv file.
Basically this .php file cleans up a csv spreadsheet, it’s similar to running a a visual basic script against a spreadsheet in excel.
I need “glob” to be run on some of the columns, and to replace the a part number with a picture url. GLOB is then used to find all sequential pictures.
The second thing I need is a command to delete anything that is not in stock.. If there is an item with quantity zero I need you to delete that row in the spreadsheet.
right now the GLOB functions and the quantity-0 row deleter do not work. I will need you to fix them.
I’ve simplified the script and added ftp permissions for you to login and troubleshoot the file.