Re: Arrays
| From: | Jason Wong | Date: | Thu, 30 May 2002 19:47:22 +0000 |
| Subject: | Re: Arrays | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19537@lists.php.net to get a copy of this message | ||
On Friday 31 May 2002 03:53, Morten Nielsen wrote:
> Hi,
> I need to store a lot of vaiables (75+) in a MySQL database.
> What is the best way to do this? Should I create a field for each variable
> in the database or is it possible to create an array for a series of
> variables?
You can put everything in a single array then serialize() it and store (in a
single field).
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
If he had only learnt a little less, how infinitely better he might have
taught much more!
*/