Ok, so I am creating a sort of dating service and I have a DB that requires a field to match up against multiple other fields. They need to be stored, so that they can be ignored and set as maybes for later viewing. I know that setting up a comma delimited field is usually unwise, but I cannot figure out a better way to keep track of the matches while being able to categorize them into separate columns later on.

Does anyone have any better way of doing this without the comma delimited field?

有帮助吗?

解决方案

how about an array? You can store an array of information in a database. in php just declare it as such: variable = array(); then you can deal with variable as an array by using for loops, variable[index#], etc. Hope this helps!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top