Hola a todos
no puedo hacer funcionar este codigo para que un loop while imprima los valores de variables tipo GET.
este es el codigo
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
if (isset($_POST['submitted']))
{
$i = 1;
$bb = 3 ;
while ($i == $bb){
if (!isset($_GET['i_deleted_$i'] )) {
echo "<br/>no set ::".$_GET['i_deleted_$i'];
}else{
echo "<br/>set ::".$_GET['i_deleted_$i'];
}
$i++;
}
}//end - if submited
?>
<form action="archivo.php?i_deleted_1=1&i_deleted_3=1" method="post" name="enviaForm" id="enviaForm">
<input type="hidden" name="submitted" value="TRUE" />
<input type="submit" name="envia" value="send" />
</form>
</body>
</html>
cambiar el method del formulario a GET no me ha funcionado tampoco...