prefix}game_sudoku_database( level, opened, data) ". "VALUES ($rec->level, $rec->opened, '$rec->data')\", false);\r\n"); if( ++$i % 10 == 0) fwrite( $h, "\r\n"); } fwrite( $h, "\r\necho'Finished importing';"); fclose($h); }