|
Posted by Jim S. on 02/05/06 14:40
yes, exactly, i want to insert / update a database record with an array.
i tried "implode" and i got a variable that has the values seperated with a
comma, but i could never succeed to insert that value in the database.
the variable after the implode was as following: $mystuff and has the
values: 1,3,5,4,6,7
but i am not able to insert them. so what is the requirement of the field in
order to accept such a variable?
should i also use ENUM ??
thanks again
"Janwillem Borleffs" <jw@jwscripts.com> wrote in message
news:43e5eb17$0$40776$dbd4d001@news.euronet.nl...
> Sean Barton wrote:
>> i dont think serialization is the answer to this one. maybe its just a
>> simple do while and sql insert?
>>
>
> Without a proper description, I'm assuming that the OP wants to store an
> array into a single db field.
>
> JW
>
Navigation:
[Reply to this message]
|