I'm pulling the items from a row in the mysql database..
basically it's stored in mysql as a string like this.. "apples,oranges,pears,ect,ect":
Then I explode the string into an array using..
$array = explode(",", $row['fruit']);
.
.
.
And that's how the array comes into the picture... now I'm just trying to figure out how to rearrange the array so I can impolde the array back into string format and re-insert it into the database.
PS. ofcourse in real life I'm not storing fruit like this in the array.. the actual array consist of ID Keys for products in a certain store. But I thought fruit would be a little more simple to grasp.