Helping ordinary people create extraordinary websites!


XML_sql2xml::addSql

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

Description

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.

Parameter

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

Note

This function can not be called statically.