From Joomla! Documentation

Revision as of 15:44, 10 May 2013 by JoomlaWikiBot (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDatabase::splitSql


Splits a string of multiple queries into an array of individual queries.

Description:JDatabase::splitSql [Edit Descripton]

public static function splitSql ($sql)
Parameter Type Default Description
$sql string Input SQL string with which to split into individual queries.
  • Returns array The queries from the input string separated into an array.
  • Defined on line 358 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabase::splitSql [Edit See Also]

User contributed notes

<CodeExamplesForm />