Php Development
- or -
Post a project like this1776
£40(approx. $49)
- Posted:
- Proposals: 5
- Remote
- #2172713
- Awarded
Description
Experience Level: Entry
Estimated project duration: 1 day or less
I need a script built to OOP standard. I will provide you with a CSV with multiple columns. The CSV will have approximately 15000 rows. I need you to write a PHP script that will:
1. Return an array
2. The key of each element will be the value from one of the columns (you will have to remove quote marks from a string)
3. The value of each element will be either 4 or 0, depending on the value of another column. (If the field's value is 'In Stock' it's 4, else 0)
4. The script must confirm validity of the CSV by checking that the columns have the correct heading
5. The script must be memory efficient and free from errors
6. You can assume that the file will be called sancto.csv and will be provided to your script as a file stream (fopen)
I need this done today.
1. Return an array
2. The key of each element will be the value from one of the columns (you will have to remove quote marks from a string)
3. The value of each element will be either 4 or 0, depending on the value of another column. (If the field's value is 'In Stock' it's 4, else 0)
4. The script must confirm validity of the CSV by checking that the columns have the correct heading
5. The script must be memory efficient and free from errors
6. You can assume that the file will be called sancto.csv and will be provided to your script as a file stream (fopen)
I need this done today.

Jade L.
100% (8)Projects Completed
9
Freelancers worked with
6
Projects awarded
71%
Last project
1 May 2019
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies