Definition at line 15 of file sqlutility.php.
◆ prefixQuery()
static prefixQuery |
( |
| $query, |
|
|
| $prefix ) |
|
static |
add a prefix.'_' to all tablenames in a query
- Parameters
-
string | $query | valid SQL query string |
string | $prefix | prefix to add to all table names |
- Returns
- mixed FALSE on failure
Definition at line 138 of file sqlutility.php.
◆ splitMySqlFile()
static splitMySqlFile |
( |
& | $ret, |
|
|
| $sql ) |
|
static |
Function from phpMyAdmin (http://phpwizard.net/projects/phpMyAdmin/) Removes comment and splits large sql files into individual queries Last revision: September 23, 2001 - gandon
- Parameters
-
array | the splitted sql commands |
string | the sql commands |
- Returns
- bool always true @access public
Definition at line 27 of file sqlutility.php.
The documentation for this class was generated from the following file: