[techtalk] storing objects in a db with PHP
Erb, Maria
merb at keene.edu
Mon Jun 19 15:57:28 EST 2000
hi all,
does anyone know how to store objects in a database using PHP? I've created
a class which has two attributes which are arrays. I need to store the
whole object in a db but I'm not sure how to do it. When I try to serialize
the array, the info is stored in a MySQL table, but I can't seem to retrieve
the info (with unserialize) and then use the info as an object. Thanks for
any help!!! And how about storing an array of objects in a db?
thanks,
Maria
Maria B. Erb
Web Developer
Keene State College
603-358-2340
mail address:
MS 2707 / CMIT
229 Main Street
Keene, NH 03435
More information about the Techtalk
mailing list