fixed redirect at end of submit for dino.php