API

Posts under the "API" category

Remote database access

The WP Data Access API can be used to connect to local and remote databases. Here is a basic example which shows how to connect, perform a query and dump the query results on the screen.This code works similar for local and remote databases. A database must be...

CRUD Example

The following PHP code creates a fully functional CRUD page for table employees stored in a remote database named rdb:classicmodels. The page is added to the WordPress dashboard menu.To use a table stored in the WordPress database, just remove the wpdaschema_name...

Alternative search algorithm

Extended Search Algorithm (wpda-cdg-extensions) for WP Data Access was written by Charles Godwin. It is an alternative search algorithm that looks for the occurrence of each space delimited token in the search string rather than the default of just one string and...

WP Data Access API

PHP programmers can use the WP Data Access API to create CRUD pages in minutes or access remote databases from their WordPress pages (or a combination of them 😉). There is no online API documentation, but it is very easy to generate your own copy.Generate API...