Hey,
I am using PHP and MySQL to allow a visitor to my web site enter in their specific intentions when recording using a camcorder, entering in their budget, and then it will search for camcorders that fit the budget and will meet the requirements for their intentions.
For example, I have a MySQL table of options that include budget, use (personal/corporate), and then some specific examples of recording such as family videos, nature/landscapes.
SO, I have a table of camcorders and a table of options. The options table refers to the camcorder table, I have a row called cidowner which is the ID of the camcorder.
I want the script to return camcorders that are below the budget and are for a specific use. These are more strict. However, for recording intentions, they can check up one or all of the options. So, I want camcorders that meet any of the criteria they search for. For example, only one of the criteria have to match for the camcorder to show.
Would using an array be the best way to do this? Could someone just point me into the right direction?
If you need a better explanation, please let me know and I will try my best!
Thanks