◆ 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
◆ 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 | $ret | the splitted sql commands |
string | $sql | the sql commands |
- Returns
- boolean always true @access public
The documentation for this class was generated from the following file: