[ Cr4x0r @ 08.03.2004. 21:01 ] @
Kako mogu napraviti ispis N text boxova u drugoj scripti tj. da ih postujem ???? ( x1 | x2 | x3 | ... )

Code:
 <? if (isset($max)) {
for (i=0 ; i<$max ; i++) { 
echo OVDJE?????
}
} ?>
<form method="POST" action="test.php">

<? $max= 10; 
for (i=0 ; i<$max ; i++) { ?>
  <input type="text" name="x<? echo $i ?>" size="20">
   <? } ?>
  <input type="submit" value="Submit" name="B1">  
  <input type="hidden" name="max" value="<? echo $max; ?>">
</form> 
[ Nemanja Dubravac @ 08.03.2004. 21:41 ] @
Code:
 <? if (isset($max)) {
for ($i=0 ; $i<$max ; $i++) { 
$var="x$i";
echo $$var;
}
} ?>


probaj ovo