Re: [PHP] Re: storing array in mysql

2001-08-01 Thread elias
Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 8:09 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: storing array in mysql Yes true, you can use serialize. But since you know the format of your $array variable (which is simply holding one data type) you can sa

RE: [PHP] Re: storing array in mysql

2001-07-31 Thread Warren Vail
, July 31, 2001 4:05 AM To: [EMAIL PROTECTED] Subject:[PHP] Re: storing array in mysql when you submit this form, PHP will give a array variable called $name you can store in in MySql as: ? // will make the $name as a comma seperated string $str = join(,, $name); insert into tablename

Re: [PHP] Re: storing array in mysql

2001-07-31 Thread elias
ren Vail -Original Message- From: elias [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 4:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: storing array in mysql when you submit this form, PHP will give a array variable called $name you can store in in MySql as: ? // w

RE: [PHP] Re: storing array in mysql

2001-07-31 Thread Warren Vail
: Tuesday, July 31, 2001 8:09 AM To: [EMAIL PROTECTED] Subject:Re: [PHP] Re: storing array in mysql Yes true, you can use serialize. But since you know the format of your $array variable (which is simply holding one data type) you can safely use split() and join() better and smaller when