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 generated so that each one is different... So would it
> be practical to load all 102 questions and their options into an array
> and store that array into a session? 

You could. 102 questions probably isn't very large.

> 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.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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

Reply via email to