Re: DataObjects find using LIKE operators

From: Date: Mon, 13 Sep 2004 08:53:59 +0000
Subject: Re: DataObjects find using LIKE operators
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14514@lists.php.net to get a copy of this message
Hi Bastien Leblanc, you wrote: > Is there a way to query the database using LIKE operators rather =, I > would like user to be able to search with wildcard (* or % or what ever). > > How would you treat that problem? You can use ::whereAdd() http://pear.php.net/manual/en/package.database.db-dataobject.db-dataobject.whereadd.php ;) HTH, -- Michael - < mike(@)php.net >

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pear.general (#14514) next »