Ver Mensaje Individual
  #6 (permalink)  
Antiguo 03/10/2005, 20:48
pipogol
 
Fecha de Ingreso: mayo-2005
Mensajes: 164
Antigüedad: 19 años
Puntos: 0
sigo teniendo problemas el primer isset funciona, pero el segundo me manda de nuevo a la priemra parte. ningun error, pero no entiendo bien porque.

Código PHP:
<?php
if(!isset($_POST['submit'])){
?>

<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<table width="40%">
<tr>
<td>cualquier cosa</td>
<td><input type="text" name="xxx" size="5"></td>
</tr>
<tr>
<td></td>
<td><input type="submit" name="submit" value="buscar"></td>
</tr>
</table>
</form>
<?
}else{
$yyy $_POST['xxx'];


 if (!isset(
$_POST['go'])) {
        echo    
"<form method='post' action='".$_SERVER['PHP_SELF']."'>
                <table>
    <tr><td><input type='submit' value='submit'name='go'></td></tr>
                </table>
                </form>"
;
    }else{
    echo    
"todo ok";

    } 


}
?>
no me funciona. alguna idea porque no? o es que 2 o mas isset's no se pueden poner juntos? grcias