Jacek Kowalski
2012-07-07 4670c76fe96e1ff78ff094e6fae8469d2d10d747
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
ini_set('zlib.output_compression', TRUE);
 
include('./includes/std.php');
 
$query = sql::query('SELECT * FROM ksiazki');
 
$row = sql::fetchonea($query);
 
echo implode("\0", array_keys($row))."\n";
 
do {
    echo implode("\0", $row)."\n";
    
    $row = sql::fetchonea($query);
} while($row !== FALSE);
?>