Re[2]: [PHP] Array into database
| From: | Stuart Dallas | Date: | Wed, 12 Jun 2002 17:13:50 +0000 |
| Subject: | Re[2]: [PHP] Array into database | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-101770@lists.php.net to get a copy of this message | ||
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 page. Don't forget to run addslashes on the string before trying to
store it in the database.
--
Stuart