Re: conditions in select * from

From: Date: Mon, 19 Jun 2000 06:11:35 +0000
Subject: Re: conditions in select * from
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2178@lists.php.net to get a copy of this message
On 18 Jun, sarahana wrote: > Hi, > I was just wondering... > > Let's say a user chooses a word. And I want to select those entries in a > database table for which the word exists as a PART of the data of the > field name... i.e. the word may not be the data in the name field, but > it may be a PART of the string. > > How can I do that? You really should have a look at your SQL manual, particularly the part about wildcards and LIKE -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#2178) next »