문제

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