Question

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?

Was it helpful?

Solution

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!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top