C:\xampp\htdocs\kptv2\phpMy8181Admin\libraries\transformations\text_plain__sql.inc.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * @package phpMyAdmin-Transformation
 */

function PMA_transformation_text_plain__sql_info() {
    return array(
        
'info' => __('Formats text as SQL query with syntax highlighting.'),
        );
}

/**
 *
 */
function PMA_transformation_text_plain__sql($buffer$options = array(), $meta '') {
    
$result PMA_SQP_formatHtml(PMA_SQP_parse($buffer));
    
// Need to clear error state not to break subsequent queries display.
    
PMA_SQP_resetError();
    return 
$result;
}

?>
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586