Ver Mensaje Individual
  #11 (permalink)  
Antiguo 23/03/2005, 06:08
Avatar de Torus
Torus
 
Fecha de Ingreso: enero-2002
Ubicación: Tú buscame y me encontraras
Mensajes: 413
Antigüedad: 23 años, 2 meses
Puntos: 0
Es mas posteo el code para que lo examineis y a ver si sabeis por que no pasa los valores.

Código HTML:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="borrador.php">
<input type='image'src='imagenes/folder_red.png' border='0' name='boton'  value='1'>1
<br><input type='image' src='imagenes/folder_red.png' border='0' name='boton'  value='prueba1'>prueba1
<br><input type='image' src='imagenes/folder_red.png' border='0' name='boton'  value='prueba2'>prueba2
<br><input type='image' src='imagenes/folder_red.png' border='0' name='boton'  value='imagenes'>imagenes
<br><input type='image' src='imagenes/folder_red.png' border='0' name='boton'  value='sitemap_es'>map_es
<br>
<input type='checkbox' name='fichero[]' value='borrador.php'><img src='imagenes/html.png' width='16' height='16'>&nbsp;borrador.html 
<br><input type='checkbox' name='fichero[]' value='index.html'><img src='imagenes/html.png' width='16' height='16'>&nbsp;index.html 
<br><input type='checkbox' name='fichero[]' value='eliminar.html'><img src='imagenes/html.png' width='16' height='16'>&nbsp;eliminar.html 
<br><input type='checkbox' name='fichero[]' value='index_sav.html'><img src='imagenes/html.png' width='16' height='16'>&nbsp;index_sav.html 
<br><input type='checkbox' name='fichero[]' value='index2.html'><img src='imagenes/html.png' width='16' height='16'>&nbsp;index2.html 
<br>

 <input type="submit" name="Submit"  value="Enviar">
</form>
</body>
</html> 
En borrador.php solo tengo lo siguiente que es para chequear lo que envia


Código PHP:
<?php foreach($_POST as $key => $value ) {

 echo 
"el indice es ".$key."  El valor es  ".$value."<br>";             
}     

?>
Yo me estoy volviendo loco
Saludos cordiales
__________________
Hay tanto que aprender y tan poco tiempo