mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-01-15 11:55:18 +08:00
@@ -199,7 +199,7 @@ function sqldumptable($table, $startfrom = 0, $currsize = 0) {
|
||||
$comma = $t = '';
|
||||
for($i = 0; $i < $numfields; $i++) {
|
||||
|
||||
$t .= $comma.($_GET['usehex'] && !empty($row[$i]) && (strexists($tablefields[$i]['Type'], 'char') || strexists($tablefields[$i]['Type'], 'text')) ? '0x'.bin2hex($row[$i]) : '\''.mysql_escape_string($row[$i]).'\'');
|
||||
$t .= $comma.($_GET['usehex'] && !empty($row[$i]) && (strexists($tablefields[$i]['Type'], 'char') || strexists($tablefields[$i]['Type'], 'text')) ? '0x'.bin2hex($row[$i]) : '\''.$db->escape_string($row[$i]).'\'');
|
||||
$comma = ',';
|
||||
}
|
||||
|
||||
@@ -224,4 +224,4 @@ function sqldumptable($table, $startfrom = 0, $currsize = 0) {
|
||||
return $tabledump;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user