Jacek Kowalski
2013-02-12 38123974efb3fab9a5dc103e1adb45f8ed928ead
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);
?>