In this case I am sending values (of a select and a number), the values pass normally, but the problem is that when I select one, the other one is deselected, but what I would like is that they be selected (if is that you select the two), as you could do so that when you select a value, it is marked in your select.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h2>Pasar Valores</h2>
<form action="buscar.php">
<select name="miselector" id="miselector" onchange="this.form.submit()">
<option value="">seleccionar</option>
<option value="coches">coches</option>
<option value="casas">casas</option>
</select>
<input type="Number" name="semana" id="semana" style="width: 50px; height: 25px; text-align: center;position: center" step="1">
</form>
<?php
if (isset($_GET['miselector']) or isset($_GET['semana'])) {
echo "<br>estado: ".$_GET["miselector"];
echo "<br>semana: ".$_GET["semana"];
}
?>
</body>
</html>