hi,

how can i store an array in mysql ?


what i do now ( works fine  )
========================


a) transform the array to a § delimeted string 
// $tempItem is a § dlimited string    example: 4321§117§A123§42WQ§1243  
b) $tempItem = serialize($tempItem);

c) store it in mysql-table



and i get my array back with


d) $myItems = explode("§",unserialize($myValueFromDB));



but i think theres an easier way out there
any solutions


greetings

andreas

Reply via email to