Re: database search

From: Date: Mon, 26 Mar 2001 17:54:29 +0000
Subject: Re: database search
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7839@lists.php.net to get a copy of this message
In article <99mtsa$85b$1@toye.p.sourceforge.net>, mark@biteit.net ("Mark Collins") wrote: > Hope you can help, I have put a basic database together which add, deletes, > updates and edits records but I am not sure where to start with searching > the data base. I have already got it working a bit using ereg and a while > loop, but it is case sensitive and wont find a match in the middle of a > string (or at least I dont think it will). Does anyone know of a better way > to do this? eregi() is for case-insensitive matching The preg_* functions allow switching back and forth between case-sensitive and case-insensitive subpattern matching within a single pattern. -- CC

« previous php.db (#7839) next »