I am trying to get data from a table field called "custom" from a mysql database
the data is stored as 23-1, where 23 is the id and 1 is the quantity
How do I build an array or extract the data and place the values into two variables to use to update a different table.
I am ok with connecting to and updating databases, im just not sure how to format the data from the above field.
i'v done some digging around and found the following
$namearray = Array (  => Markus  => Nigel  => David )
Any help would be appreciated,