◆ prefixQuery()
static prefixQuery |
( |
|
$query, |
|
|
|
$prefix |
|
) |
| |
|
static |
add a prefix.'_' to all tablenames in a query
- Paramètres
-
string | $query | valid SQL query string |
string | $prefix | prefix to add to all table names |
- Renvoie
- 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
- Paramètres
-
array | $ret | the splitted sql commands |
string | $sql | the sql commands |
- Renvoie
- boolean always true @access public
La documentation de cette classe a été générée à partir du fichier suivant :