hello everyone I'm creating a contact site, I have my personal.php file (form) and SavePersonal.PHP (data INSER)
in my SavePersonal.PHP I have this
$sql = "SELECT Numero_Empleado FROM personal WHERE '$_Numero'";
$result = $conn->query($sql);
$count = mysqli_num_rows($result);
if ($count == 1) {
echo "<br />". "El Usuario ya a sido Registrado." . "<br />";
echo "<a href='Location: ../tables.php'>Por favor verificar la informacion</a>";
I want to return the message of "The user is already registered" to my personal.php file