I just learned over the last hour how to split the fields. Now I have array [0] to array [19] outputted with the following script:
Code:
print_r (explode(",\"",$str));
print_r (explode("\"",$str));
echo "<br />";
I now need to know how to declare say array[9] as $peanuts and echo it. From there I can figure out how to put it in the database. Tried code below but didn't work
Code:
print_r (explode(",\"",$str));
print_r (explode("\"",$str));
echo "<br />";
$peanuts = $array[9];
echo $peanuts;