Re: arrays in mysql
J.O. Aho wrote:
> Joe wrote:
>> Is there an accepted way to store arrays in mysql(5.0).
>
> serialize it before you store it, then you get a "string" of the
> whole array.
Err, this is a relational database yes?
Arrays should be stored as one-to-many relationships.
|