Files
desayuno/public_html/sql/descargar.php
T

14 lines
322 B
PHP
Raw Normal View History

2019-06-20 18:00:41 -05:00
<?php
include("conexion.php");
$con = Conectarse();
$email = utf8_decode(trim($_POST['email']));
$insert_registro = "call st_trae_correo('$email')";
$result = mysqli_query($con, $insert_registro);
$id = mysqli_fetch_row($result);
//echo $insert_registro;return;
if ($id[0] == 1) {
echo $email;
} else {
echo '';
}