Gracias pero mi problema persiste no entiendo q pasa
mando las lineas a las q hace referencia:
Linea 9:
Código HTML:
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
Código PHP:
<?php
if (!empty($_POST['btn1']) )
{
$usuario=$_POST['txtuser'];
$pswd=$_POST['txtpswd'];
include('bin/conectar.php');
$Xuser=mysql_query("SELECT ci FROM usuario where usuario='$usuario' and clave='$pswd' ");
while($vector = mysql_fetch_array($Xuser))
{
$xci[]=$vector["ci"];
}
$contador=count($xci);
if ($contador==0 )
{
$msg="<div align='center' class='titulo'> Ud. no esta registrado o bien ingreso un nombre de usuario o clave incorrecto </br>gracias por su compresion </div>";
echo $msg;
}
else{
include('web/lib1.php');
registrodeingreso($xci[0]);
session_start();
$_SESSION["ci"]= $xci[0]; // LINEA 156
header ("location:home.php");
}
}
?>