take_data.php return last x rows