Este es el codigo fuente, no entiendo, si no estoy mostrando nada ... ? o a que se refieren con mostrar ?
Código PHP:
<?
$usuario = $_POST["usr"];
$clave = $_POST["pwd"];
$sql = "SELECT * FROM tecnicos where nombre ='$usuario' and password = '$clave'";
include("conectar.php");
$res = mysql_query($sql) or die (mysql_error());
$encontro = mysql_num_rows($res);
if($encontro == 1){
session_start();
$_SESSION["autentificado"]= "SI";
print "<meta http-equiv=Refresh content=\"0 ; url=menu.php\">";
}else{
print "<meta http-equiv=Refresh content=\"0 ; url=index.php?errorusuario=si\">";
}
include("desconectar.php");
?>
Gracias .... siempre estan !!!!