14 lines
322 B
PHP
14 lines
322 B
PHP
<?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 '';
|
|
} |