Here is our site:
http://www.tradmusic.com/
Top right, is a search form. If you type in "Nathon Jones"
you won't see me
listed in the results (although you'll see people who maybe
have my name in
their description).
However, if you type in "Nathon" or "Jones" I do appear.
Now, this is because I store artists first name and surname
in two different
database fields, so when I'm doing the search, I'm searching
for "Nathon
Jones" in the firstname field and "Nathon Jones" in the
surname field.
Because my database only has "Nathon" in the firstname field
and "Jones" in
the surname field, it therefore doesn't find a match.
How do I take the search form value (a variable called
"search") and use it
to search the firstname and surname database fields combined?
Is this what is called "concatenating" or to "concatenate"?
(I'm terrible
at Scrabble by the way!)
Thank you.
Nath.