Question: need to define a function that create a associative array from csv file(data as below) using only php code (no jquery and mysql) using foreachloop
need to define a function that create a associative array from csv file(data as below) using only php code (no jquery and mysql)
using foreachloop
| id | img | title | desc | price |
| 12 | abc.jpg | machine1 | description1 | 25 |
| 13 | bsc.jpg | machine2 | description2 | 25 |
| 14 | fgb.jpg | machine3 | description3 | 25 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
