serialize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an app that stores evaluation scores so I have 30+ values all
within a certain range, currently in the db, each of these values has
it's own column:

Table test
   id
   user_id
   motivation
   caring
   personal_characteristics
   creativity,
   ...etc.

If the client decides they want to trap more characteristics, it
requires changes to the table structure and the table quickly gets
large with 30+ columns.  I was thinking of just compacting all of
these down to one column and then using serialize/unserialize and
storing an array of the test scores....is this the best way??

Thanks!

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux