File "verification_email.php"

Full Path: /home/analogde/www/Design/fileman/Fusion/PROD/verification_email.php
File size: 472 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

	require_once("config_DB.php");

	if(!empty($_POST["email"])) 
	{
		$result = mysqli_query($connexion,"SELECT count(*) FROM appli_table_users WHERE email='" . $_POST["email"] . "'");
		$row = mysqli_fetch_row($result);
		$email_count = $row[0];
		if($email_count>0) echo "<span style='color:green'> Votre email existe dans la database.</span>";
		else echo "<span style='color:red'> Votre email n'a pas été trouvé dans la database.</span>";
	}

?>