I have the key phrase "Monkey Nuts" that I want to search for.
I have two fields:
In field [animal] I have a value "Monkey"
In field [food] I have a value "Nuts"
I want to search a table for [animal] + ' ' [food], so it returns "Monkey Nuts".
So I tried:
It doesn't work. What am I doing wrong?
I have two fields:
In field [animal] I have a value "Monkey"
In field [food] I have a value "Nuts"
I want to search a table for [animal] + ' ' [food], so it returns "Monkey Nuts".
So I tried:
Code:
$query = "SELECT * FROM mytable WHERE (animal, + ' ' + food) = 'Monkey Nuts'";
It doesn't work. What am I doing wrong?