How to connect to an Advantage Database Server

Abstract: How to connect to an Advantage Database Server

  Advantage Database Server

Advantage has its own PHP extension, but this is not part of PHP itself. You can add the extension using php.ini. For using this extension in VCL4PHP you need to extend the classes of db.inc.php (Database, Table, Query) like it's already done for Interbase (interbase.inc.php).

An easier way is to use ODBC. Create a (System) DNS with a Name, using Administrative Controls of the Control Panel.

With the Database component, set the host name to the DNS name, Pick ODBC as driver name, set connected to true.

Drop table on form, set table name appropriately and connected to true.

Drop Datasource on form and point it at the table.