gani
06-30-2011, 03:25 PM
I am doing the script for a dating site.
In the form, there is an option for a person to choose what country they want their partner to be from. It is a simple solution if they just select one country, but how would i do it if they wanted their partner to be from 20 different countries. I can not save it to the normal table where all the other records are.
So if I save it to a whole new table, how would i do the query? :confused:
For example ...table 1 has age, sex, race
Table 2 has the list of countries
How would i do a search if user is looking for an 18 year old white female from USA or france or Britain or Brazil or Canada?
In the form, there is an option for a person to choose what country they want their partner to be from. It is a simple solution if they just select one country, but how would i do it if they wanted their partner to be from 20 different countries. I can not save it to the normal table where all the other records are.
So if I save it to a whole new table, how would i do the query? :confused:
For example ...table 1 has age, sex, race
Table 2 has the list of countries
How would i do a search if user is looking for an 18 year old white female from USA or france or Britain or Brazil or Canada?