Re: Simple search engine gone bad

From: Date: Mon, 06 May 2002 05:15:52 +0000
Subject: Re: Simple search engine gone bad
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-18882@lists.php.net to get a copy of this message
> > if($search) > { > $query = "SELECT iname, quantity, user, price FROM > {$config["prefix"]}_shop WHERE iname LIKE '%$searchword%' AND price > 0 Try putting $searchword within single quotes.

« previous php.db (#18882) next »