Re: Storing an array in the database

From: Date: Fri, 28 Feb 2003 16:29:44 +0000
Subject: Re: Storing an array in the database
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-26001@lists.php.net to get a copy of this message
If your array is multidimensional, you could store it in a javascript-style: // get the print_r() // replace (recursively) all instances of "Array( .. )" by "[...]" If you ever plan to write a class or a function to do that, let me know! Ignatius ____________________________________________ ----- Original Message ----- From: "Jonathan Villa" <jvilla@isdesigndev.com> To: <php-db@lists.php.net> Sent: Friday, February 28, 2003 5:09 PM Subject: [PHP-DB] Storing an array in the database > > How would I store an array in the database? I want to store 2 things. > One array of shirt sizes and one array of which holds other arrays. > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.db (#26001) next »