Product Documentation

FairCom SQL for PHP

Next Topic

FairCom SQL for PHP - Quick Start Guide

Note: FairCom provides several ways for accessing the FairCom Database Engine from PHP:

  • A native PHP API for interfacing with PHP 5.x.x. It does not support later versions of PHP.
  • FairCom DB ODBC for interfacing with any version of PHP.
  • A PHP PDO (PHP Data Object) driver for supporting PHP 7 and later with the PDO extension.
    This is the preferred way to access PHP. See FairCom DB PHP PDO ReadMe.

These are all discussed in the PHP Developer's Guide.

In this Book

This book contains the PHP developer tutorials for the FairCom DB PHP 5 API. It also includes a section on accessing PHP using ODBC.

In a few simple steps and about 15 minutes, you’ll be navigating your data.

  1. Install and start up the FairCom Database Engine. See Installing FairCom Products.
  2. Optionally read the overview Introduction to the FairCom DB PHP API.
  3. Run the tutorials:

Tip: To view, edit, and run the source code for the tutorials, you can go directly into the <faircom>\drivers\php.sql\tutorials folder that is installed with the product. Each tutorial has been thoroughly tested on each operating system, interpreter, and compiler to ensure you have an excellent experience.


c-tree Database API for Other Languages

In addition to its SQL APIs, FairCom provides navigational ("NAV") APIs for high performance. FairCom allows you to use NAV APIs with the language of your choice: