Jump to content


Photo

table within a table?


  • Please log in to reply
1 reply to this topic

#1 sharpdust

sharpdust
  • Members
  • Pip
  • Newbie
  • 2 posts

Posted 10 October 2005 - 02:57 AM

Is it possible to insert a table inside of a another table? And what would be the sql command to do it?

For example, I have a form that will have 4 checkboxes. Rather than creating 4 fields within my table for those checkboxes, I would rather create a field that is a table with the 4 fields within it.

Another example of this would simply be a poll with 4 options.

Thanks.

#2 ryanlwh

ryanlwh
  • Staff Alumni
  • Advanced Member
  • 511 posts

Posted 10 October 2005 - 03:49 AM

while you cannot put a table within a table, you can use the data types ENUM or VARCHAR to achieve the same effect.
Please use EDIT * 100...
Please use
or [php] * 1000...

PLEASE READ THE POSTED SOLUTIONS CAREFULLY * 1000000...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users