I don't understand why you can't use a database.

Try something like this:

survey (id, description)
question (id, survey_id, position, text, response_type, file_path)
response (id, user_id, question_id, start_time)
response_value (id, response_id, value, end_time, file_path)




On Sun, Mar 21, 2010 at 1:06 AM, Wade Preston Shearer <
[email protected]> wrote:
> I am building a simple survey tool and am trying to determine the best
method for storing the responses. The tool allows an administrator to build
a survey of any length. Due to the dynamic nature of this, it's impossible
to have a database table with the appropriate corresponding columns. What's
the best way to store this? A serialized array? Any way to store it and
still be able to query against the answers?
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to