Updated save.php to handle $show_market