Sorry guys in prog jquery_schedule.php , function set_schedule, change this lines from if ($("#schedule_type_d").is(':checked') ) string_schedule+="d"; else if ($("#schedule_type_a").is(':checked') ) string_schedule+="a"; else string_schedule+="p"; in string_schedule+="d";