Adding multiple entries to one column in one row?
Posted: Mon Jan 15, 2007 3:02 pm
I am wondering is it possible to add multiple entries to one column in one row? If so, how can this be done? Thanks in advance.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
parent_table
id name
1 car
2 motorcycle
child_table
id parent_id name
1 1 Audi
2 1 Skoda
3 2 Kawasaki
4 2 DucatiNot recommendedKieran Huggins wrote:A quick and dirty hack is to serialize() an object and store the result
. I'd go with the join.