Jacek Kowalski
2012-07-07 53277913f1f02ac926ec59450f9ce45b4490bff9
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);
?>