storing serialized() data in the db -> can it be queried on?
| From: | Matt Babineau | Date: | Mon, 18 Aug 2003 13:39:43 +0000 |
| Subject: | storing serialized() data in the db -> can it be queried on? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-29943@lists.php.net to get a copy of this message | ||
Hi All-
I don't think that this is possible but maybe through some custom
function perhaps? I am storing data in a database, and it is an Array
(in PHP) so I serialized it for storage. I want to be able to query that
data and be able to do something like WHERE thisField = 'john'. the
field 'thisField' though would need to be pointing to the first element
in the Array, which I don't think is possible. Has anyone run into this
before?
Thanks,
Matt