nuevo sistema de busqueda

parent b7d23b42
...@@ -9,6 +9,8 @@ include "conexion.php"; ...@@ -9,6 +9,8 @@ include "conexion.php";
if (isset($_POST['clave_escuela'])) { if (isset($_POST['clave_escuela'])) {
$_SESSION["escuela"] = $_POST['escuela']; $_SESSION["escuela"] = $_POST['escuela'];
$_SESSION["clave_escuela"] = $_POST['clave_escuela']; $_SESSION["clave_escuela"] = $_POST['clave_escuela'];
$_SESSION["latitude"] = "";
$_SESSION["longitude"] = "";
} }
$sql = 'SELECT * FROM Inicial WHERE CV_CCT ="' . $_POST['clave_escuela'] . '"'; $sql = 'SELECT * FROM Inicial WHERE CV_CCT ="' . $_POST['clave_escuela'] . '"';
...@@ -151,4 +153,3 @@ if ($result->num_rows > 0) { ...@@ -151,4 +153,3 @@ if ($result->num_rows > 0) {
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment