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