Robert Cummings wrote:

Also can I store those arrays as a blob in MySQL?



You could, but you'd be better off storing them in normalized tables
IMHO.



In this cans I will have to strongly agree with Rob, but I also have to add a few comments.


Why on earth would you store an array as a blob in a database!? That's like spending $10,000 on a new storage system to organize all the junk in your garage, and then ripping out all the bins and shelves and cabinet door and just dumping all your junk in there. You might as well just put it in some file on the hard drive. If your using a database and you don't know what normalization is or you don't know how to tell if a database is normalized, STOP and drop everything till you learn the basics or normalization. I don't mean become an expert or anything, you don't need to be able describe the intricacy of Boyc-Codd normal form from memory, just learn enough to have a good grasp on everything up to 3rd normal form, which isn't all that hard.

Chris W

I'm waiting till tomorrow to respond on all the challenges to my last post, so I can respond to all of them at once.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to