I have the below query that will query one table but retirve data from two tables, yet not producing an output.
it works fine when i take the ".$searchtype." like '%".$searchterm."%' out.PHP Code:
$tablestatuse ="select ptable.tableid, ptable.statuse, ptable.timestamp1, ptable.memid member2.name, member2.lname, member2.memid from ptable, member2 where ".$searchtype." like '%".$searchterm."%' and member2.memid=ptable.memid";
Any ideas
Cheers
Dug










Bookmarks