Oliver Kennedy wrote:
$query = "SELECT * FROM clients WHERE clientid = '%".$term"%'";
$query = "SELECT * FROM clients WHERE clientid = '%".$term."%'"; Note missing '.' But that should be the same as $query = "SELECT * FROM clients WHERE clientid LIKE '".$term."'"; -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php