Re: Saving data with cookies
| From: | Mika Tuupola | Date: | Mon, 18 Mar 2002 16:37:03 +0000 |
| Subject: | Re: Saving data with cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88952@lists.php.net to get a copy of this message | ||
On Sun, 17 Mar 2002 heinisch@creaction.de wrote:
> input type="text" name="name_of_var[]" <-- this is an arrayvaraible
> every
> field the same name !
> the form will then submit an (one) array, which could be stored in your
> database
> (For I´m not shure how it will be saved, I would save this array as an
> "something" separated text.)
serialize() is your friend.
http://www.php.net/manual/en/function.serialize.php
--
Mika Tuupola http://www.appelsiini.net/~tuupola/