PEAR's DB classes are one of
This article describes how to
If you are writing an
In this Part 2 of the article
the database abstraction
connect and query an MS SQL
application that is used in
"Building Next/Prev
layers. This article takes a
server (running under a
multiple environments and
Buttons for Query
look at some traditional
Windows operating system)
operating systems, you need
Results," you will be
database access methods and
from php installed on a unix
to plan to support multiple
shown a sample code designed
then compare them with the
box.
databases. This article is
to work in most instances
method employed by PEAR.
based on my experiences with
(with minor changes).
multiple database systems,
stretching from 4th
Dimension in my Mac days, to
the databases I currently
use, which are: Oracle,
FoxPro, Access, MS SQL
Server and MySQL. Although
most of the advice here
applies to Perl, Python and
other programming languages,
we will focus on PHP and how
the ADOdb database
abstraction library offers
some solutions.
Date: Jan, 18 2001 Date: Oct, 01 2000 Date: Apr, 15 2002 Date: Dec, 21 2000 |