RE: [PHP] massive MySQL tables
| From: | Jason Murray | Date: | Mon, 08 Oct 2001 23:51:52 +0000 |
| Subject: | RE: [PHP] massive MySQL tables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-70401@lists.php.net to get a copy of this message | ||
> Yeah, there's a catch. The form IS very long-winded and it WILL take
> time to fill in, so they've asked for the form to be "saveable"
> half-complete. I think this is getting messy when you start to think
> about multiple tables, some complete, some incomplete, etc etc.
You could just work out what the total variables that get output
from the system are, throw them all into an array, serialize() the
array and store it in a row in one table. Pull the data out when they
come back, unserialize() it, and your script's logic can figure out
from there where they are in the form.
Jason