Ver Mensaje Individual
  #3 (permalink)  
Antiguo 20/12/2005, 09:47
Avatar de lily_cv
lily_cv
 
Fecha de Ingreso: noviembre-2005
Mensajes: 165
Antigüedad: 18 años, 4 meses
Puntos: 0
no claudio pero no me arroja ni un resultado y la pagfina como que se queda estatica: mira tengo esto:

en ingreso_giro.php

<form name="form1" method="post" action="datos.php">
<TR>
<TD width="130">
<div align="right">Nro de Identidad</div></TD>
<TD colspan="2">
<div align="left"><input name="dni1" type="text" size="10" maxlength="10" value="<? echo $dni1;?>" onBlur="submit()"></div></TD></TR>

en datos.php

<?php
include('conexionmacro.php');
$link= Conectarse();
$Rsdatos = mysql_query("select * from clientes where doc_ident = '$dni1' or doc_ident = '$dni2'",$link);
if($num_rows=mysql_num_rows($Rsdatos)>0){
$fila = mysql_fetch_array($Rsdatos);}
else {}
?>
<html>
<head>
<script language="javascript">
function abrir(){
document.form.action="ingreso_giro.php";
document.form.submit();
}
</script>
</head>
<body>
<form method="post" action="ingreso_giro.php" name="form">
<input type="hidden" name="direccion1" value="<? echo $fila[0];?>">
</form>
</body>
</html>

donde crees que podria haber error????