Copying Resultsets into an Array Manually
<?php $rows = array(); while($row = sqlite_fetch_array($result, $res_type, $decode)) { $rows[] = $row; } ?>