Re: Re: PHP Search DB Table
| From: | Lester Caine | Date: | Tue, 14 Dec 2010 13:37:28 +0000 |
| Subject: | Re: Re: PHP Search DB Table | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47531@lists.php.net to get a copy of this message | ||
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