XML_sql2xml::addSql – Adds an result set from a SQL statement


require_once "XML/sql2xml.php";

void XML_sql2xml::addSql ( string $sql )


Adds an aditional result set generated from an SQL statement. The function executes the statement and transform it into XML. You have to pass an DSN to the constructor.


  • string $sql - a string containing an SQL statement.


This function can not be called statically.

Adds an PEAR::DB result set (Previous) Adds an aditional result set from an array (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.