modified getgoats.php to show last lastgoat goats instead of all the goats with id>lastgoat