Trying to work out how best to output different variables in my while-loop. This is what I have so far:
<?php
$i = 1;
while($att_count < 4)
{
?>
<p>#<?php echo $i ?>:
<input type="file" name="<?php echo "pic" .$i ?>" /></p>
<?php
$att_count++;
$i++;
?>
The point here is obviously to change the $_POST (or rather $_FILES, as in this case) value for the file-input-box every time the while loop runs through, but this does not work.
Any suggestions?
This post has been edited by Precaseptica: 07 June 2010 - 11:43 AM

New Topic/Question
Reply




MultiQuote






|