Re: Possible to store arrays in mySQL without explode()/implode()
| From: | Jason Wong | Date: | Sat, 07 Jun 2003 16:50:00 +0000 |
| Subject: | Re: Possible to store arrays in mySQL without explode()/implode() | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28420@lists.php.net to get a copy of this message | ||
On Saturday 07 June 2003 21:04, Jakob Mund wrote:
> is it possible to store an array in mySQL without using implode() /
> explode(), like this:
>
> $stuff['blob'] = "string";
> $stuff['hm'] = "G-string";
>
> mysql_query("INSERT INTO table VALUES ($stuff)");
serialize()
> and if, who must the mysql table be defined ?
Any *TEXT field large enough to hold it.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
It is better to have loved and lost -- much better.
*/