Re: [PHP] Question about array limits & practicallity

2004-01-22 Thread Chris W
Joe Harman wrote: Thanks for your comments Chris and Rob... Chris you have great points to make, my ears are wide open... The reason I thought about storing the array in a blob is because every test generated will be different. the 102 question test will be generate randomly from a bank of 500 q

Re: [PHP] Question about array limits & practicallity

2004-01-21 Thread Galen
Sent: Wednesday, January 21, 2004 11:54 PM To: Robert Cummings; PHP-General Subject: Re: [PHP] Question about array limits & practicallity 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.

Re: [PHP] Question about array limits & practicallity

2004-01-21 Thread John Nichel
Joe Harman wrote: Thanks for your comments Chris and Rob... Chris you have great points to make, my ears are wide open... The reason I thought about storing the array in a blob is because every test generated will be different. the 102 question test will be generate randomly from a bank of 500 q

RE: [PHP] Question about array limits & practicallity

2004-01-21 Thread Joe Harman
... Words of wisdom are also welcome :o) So thanks for your input, Joe -Original Message- From: Chris W [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 11:54 PM To: Robert Cummings; PHP-General Subject: Re: [PHP] Question about array limits & practicallity Robert C

Re: [PHP] Question about array limits & practicallity

2004-01-21 Thread Chris W
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

Re: [PHP] Question about array limits & practicallity

2004-01-21 Thread Robert Cummings
On Wed, 2004-01-21 at 23:07, Joe Harman wrote: > I am curious how much data an array can hold.. And what the pros and > cons are. How much memory have you allowed PHP to consume? > Example.. I am making a testing system that will give a student a 102 > question test... > > The test would be gen

[PHP] Question about array limits & practicallity

2004-01-21 Thread Joe Harman
I am curious how much data an array can hold.. And what the pros and cons are. Example.. I am making a testing system that will give a student a 102 question test... The test would be generated so that each one is different... So would it be practical to load all 102 questions and their options