note 96641 added to function.unserialize
| From: | Fagzal at osu1 dot php dot net | Date: | Tue, 09 Mar 2010 18:10:29 +0000 |
| Subject: | note 96641 added to function.unserialize | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-166835@lists.php.net to get a copy of this message | ||
To all who have problem with quoting and slashes when storing serialized data in MySQL: you are
probably doing it wrong.
Use e.g. PDO with placeholders and the blob column type, and it will Just Work.
----
Server IP: 69.147.83.197
Probable Submitter: 80.98.162.64
----
Manual Page -- http://www.php.net/manual/en/function.unserialize.php
Edit -- https://master.php.net/note/edit/96641
Del: integrated -- https://master.php.net/note/delete/96641/integrated
Del: useless -- https://master.php.net/note/delete/96641/useless
Del: bad code -- https://master.php.net/note/delete/96641/bad+code
Del: spam -- https://master.php.net/note/delete/96641/spam
Del: non-english -- https://master.php.net/note/delete/96641/non-english
Del: in docs -- https://master.php.net/note/delete/96641/in+docs
Del: other reasons-- https://master.php.net/note/delete/96641
Reject -- https://master.php.net/note/reject/96641
Search -- https://master.php.net/manage/user-notes.php