I am stuck getting a CSV file that I upload into an array in javascript. So far my file upload gives me.
param_name,param_val "name2","value2" "name","value" "name1","value1"
I need to just grab the values inside the " ". So I would need an array to go like
array(
[0] name2 => value 2
[1] name => value
[2] name1 => value 1
)
I am stuck and can't seem to get it how I need it. Can anyone help? I have tried replacing and splitting but with no such luck. Any push in the right direction is appreciated.
My Excel CSV looks like this
param_name | param_val
name 2 | value2
name | value
name1 | value1













