or data
> (65k runs out fast), and that is a bit slower as well.
>
> Warren
>
> -Original 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
: 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
es makes the data mysql safe (i.e. allows me to store quotes in
the
> column, just in case they are in the array).
>
> Warren Vail
>
> -Original Message-----
> From: elias [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 4:05 AM
> To: [EMAIL PROTECTED]
> Subj
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:
now to reget the array, you can select it ba
when you submit this form, PHP will give a array variable called $name
you can store in in MySql as:
now to reget the array, you can select it back from MySql and split it as:
//elias
"Matthew Delmarter" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi a
> I want to store the results of a multiple select input box in a mysql
> db.
Store each possible selection as a different record in a separate table and
then create a three-table join for which selections match which "main"
records.
You'll be tearing your hair out for the rest of time otherwise
6 matches
Mail list logo