php + sql search
simond at irrelevant.org
Thu Oct 31 20:38:25 GMT 2002
On Thu, Oct 31, 2002 at 05:36:47PM +0000, Matthew Seaman wrote:
> On Thu, Oct 31, 2002 at 05:29:53PM +0000, Dominic Mitchell wrote:
> > On Thu, Oct 31, 2002 at 05:18:37PM +0000, Simon Dick wrote:
> > > Oh yes, and quite database independant as DB.php uses the same ideas as
> > > DBI and makes things slightly more transparent thankfully.
> > Ooh, very cool. Where's that kept then?
> Try /usr/local/lib/php/DB.php althoug the quoteString() function is
> defined in DB/common.php
Yep, but you only need to require DB.php as that includes the sub
files too, have a look at functions/db_prefs.php in SquirrelMail if
you want some examples of how it's used:
Simon Dick simond at irrelevant.org
More information about the Ukfreebsd