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>
<? 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>
Kome nevalja zna đe su vrata!!