Código PHP:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="formVerificar" method="post" enctype="text/plain" action="control.php">
<table width="100%" height="100%" border="0">
<tr>
<td height="469">
<br>
<br>
<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<?if ($_GET["errorusuario"]=="si"){?>
<td align="center"><br> Validación incorrecta<br></td>
<?}else{
} ;
?>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="101" align="center"><table width="100%" border="0">
<tr>
<td><div align="center">
<p><img src="../img/zonaprivada.jpg" border="1"></p>
</div></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<table width="259" border="1" align="center" bordercolor="#CCCCCC">
<tr>
<td width="249" height="57" bordercolor="#FFFFFF" bgcolor="EEEEEE">
<table border="0" align="center" cellpadding="3" cellspacing="1">
<tr>
<td width="130"> <span class="bolddesk">Login</span> </td>
<td class="admin-texto"> <input class="casillas" type="Text" name="login" size="20" maxlength="20">
</td>
</tr>
<tr>
<td height="25"> <span class="bolddesk">Password</span> </td>
<td class="admin-texto"> <input class="casillas" type="password" name="password" size="20" maxlength="20">
</td>
</tr>
</table></td>
</tr>
</table>
<br> <input name="submit" type="submit" class="botones" value="Enviar">
</td>
</tr>
<tr>
<td height="18" align="center"> </td>
</tr>
<tr>
<td height="18" align="center"><div align="center"><img src="../img/logo2.jpg" "></div></td>
</tr>
</table>
<p class="b10"> </p>
</td>
</tr>
</table>
</form>
</body>
Código PHP:
$ssql = "SELECT * FROM clientes WHERE Login='$login' and Password='$password'";
![Negando](http://static.forosdelweb.com/fdwtheme/images/smilies/negar.gif)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)
Código PHP:
echo $sql;
Cita:
no me recibe login y password SELECT * FROM clientes WHERE Login='' and Password=''
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![Neurótico](http://static.forosdelweb.com/fdwtheme/images/smilies/scared.png)
![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)
![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)
![ojotes](http://static.forosdelweb.com/fdwtheme/images/smilies/ojotes.png)
Gracias.