XML_sql2xml::addSql

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

Synopsis

require_once "XML/sql2xml.php";

void XML_sql2xml::addSql (string $sql)

Description

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

Parameter

Note

This function can not be called statically.

See

XML_sql2xml::XML_sql2xml(), XML_sql2xml::add()