have 2 tables.
Questions Table:
Question ID
Date
Question

Answers Table:
Question ID
Answer

Then you can make as many answers as you like as long as the Question ID is
for your question

This make sense?

Andrew

----- Original Message -----
From: "Marius Pertravčius" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 12:31 PM
Subject: [PHP] Polls


> Sveiki, php-general,
>
>   I'm making some kinf of poll system. I want to use mysql table like
> this:
>      date
>      question
>      answer1
>      answer2
>      answer3
>      .....
>      answern
>
>   but how to do this table. To write new fields isn't very good. So,
>   is there any better way?
>
>
>
> ____________________________
>  2001.07.08, sekmadienis
>  Marius Pertravčius
>  [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to