1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| $query=mysql_query("select id, acces_webmail, acces_ticket, acces_facture from client where login='$logstr' and password='$pswstr' and valide='Y'");
$data = mysql_fetch_array($query);
$query2=mysql_query("select id, webmail, ticket, facture from collaborateur where login='$logstr' and password='$pswstr' and valide='Y' ");
$data2 = mysql_fetch_array($query2);
if($data[0]=='' || $data2[0]=='')
{
echo "<span class='rougeG'>";
echo "Login ou Password incorrect. Merci de vous identifier
echo "</span>";
$ok ="0";
}else{ |
Partager