Reply to Re: an array to a database, am having hard time , help!!

Your name:

Reply:


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
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация