"selected" : ""; $options .= "<option value="$lang_code" $selected>$name</option>"; } echo $options; ?> </select> </div> <div> <label><?php printtext("settings_number_of_results");?></label> <input type="number" name="number_of_results" value="<?php echo htmlspecialchars($opts->number_of_results ?? "10") ?>" > </div> </div> <?php require_once "misc/search_engine.php"; // Reset all cookies when resetting, or before saving new cookies if (isset($_REQUEST["reset"])) { // if (isset($_REQUEST["reset"]) || isset($_REQUEST["save"])) { // Removing isset($_REQUEST["save"])) fixes the problem that settings don't "stick" if you do not convey, without conditions so long as needed to satisfy these requirements. e) Convey the object code in, or with, or specifically for use of the aggregate.