Hi!
I was completing my question with some of that information at the same time as you where asking...
In both tables I have a field that´s named "memberID". In table1 that is my keyfield, not in table2.
I´ve tried "join" but I just can´t get it right.
This is how I wrote:
SELECT table1.name,table2.description FROM table1 INNER JOIN table2 ON table1.memberID=table2.memberID WHERE name LIKE '%" . $searchstring . "%' OR email LIKE '%" . $searchstring . "%'";
So, that dosn´t work. How do I do that?