previousXML_sql2xml::addResult (Previous) (Next) XML_sql2xml::addArraynext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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 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.

previousXML_sql2xml::addResult (Previous) (Next) XML_sql2xml::addArraynext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.