Re[2]: [PHP] Array into database

2002-06-12 Thread Stuart Dallas
On Wednesday, June 12, 2002 at 7:18:18 AM, you wrote: > And how should I store a serialized variable in my database? As String or as > Blob? Since serialize returns a string, I would guess that you store it in a mongoose. Sorry for the sarcasm, but it's getting late and that info is on the manual

RE: [PHP] Array into database

2002-06-12 Thread Lazor, Ed
Depends on the average size of data that you're working with. You have to count how many bytes each array take up. I think the sizeof function will do this for you. -Ed -Original Message- And how should I store a serialized variable in my database? As String or as Blob? **

Re: [PHP] Array into database

2002-06-11 Thread Leon Mergen
"Stuart Dallas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > As far as I know, serialize will handle multi-dimensional arrays. If I were you > I would suck it and see. And how should I store a serialized variable in my database? As String or as Blob? --

Fw: [PHP] Array into database

2002-06-11 Thread Kevin Stone
02 3:59 PM Subject: Re: [PHP] Array into database > So this would handle 2-demensional arrays too? > > So, if I have > > $array = ( > "foo" => "bar", > "wom" => "bat" > ); > > > it would work

Re: [PHP] Array into database

2002-06-11 Thread Stuart Dallas
On Tuesday, June 11, 2002 at 10:59:00 PM, you wrote: > So this would handle 2-demensional arrays too? > So, if I have > $array = ( > "foo" => "bar", > "wom" => "bat" > ); (erm, i know it's late, but that looks like a 1-dimensional associative array) > it would work? As far as I k

Re: [PHP] Array into database

2002-06-11 Thread Leon Mergen
So this would handle 2-demensional arrays too? So, if I have $array = ( "foo" => "bar", "wom" => "bat" ); it would work? And darn, that I didn't come up with this (I'm familliar with Java, and they use Serializable) ... "Stuart Dallas" <[EMAIL PROTECTED]> wrote in message [EMAIL

Fw: [PHP] Array into database

2002-06-11 Thread Kevin Stone
n" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 3:25 PM Subject: [PHP] Array into database > Hello, > > I would like to know wether it's possible to put an array into a database? > If not, what is the best way to archieve something like

Re: [PHP] Array into database

2002-06-11 Thread Stuart Dallas
On Tuesday, June 11, 2002 at 10:25:36 PM, you wrote: > I would like to know wether it's possible to put an array into a database? > If not, what is the best way to archieve something like that? Yes it is. See http://www.php.net/serialize -- Stuart -- PHP General Mailing List (http://www.php.

[PHP] Array into database

2002-06-11 Thread Leon Mergen
Hello, I would like to know wether it's possible to put an array into a database? If not, what is the best way to archieve something like that? Thanks in advance, Leon Mergen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php