From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JDatabase::splitSql


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

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

User contributed notes

Code Examples