<form method="POST" enctype="multipart/form-data" action="?zapis=zdjecia"> <table border="0" cellpadding="0" cellspacing="0" width="350"> <td height="9"> <p align="center"><font face="Verdana" style="font-size: 4pt"> </font></td> <? $od_ile_fot = 1; $do_ile_fot = $ile_fotek; for ($ile_fot = $od_ile_fot; $ile_fot <= $do_ile_fot; $ile_fot++) { echo' <td width="73" align="right"><font face="Verdana" size="2" color="#D0C7BF">FOTO '.$ile_fot.' :</font></td>'; echo' <td width="73" align="right"><font face="Verdana" size="2" color="#D0C7BF">OPIS '.$ile_fot.' :</font></td>'; } ?> <tr> <td width="350" align="center"> <p align="center"><input type="submit" value="Wgraj" name="zapisz"></p> </td> </tr> </table> </form> </td> </tr> </table> <table border="0" width="770" id="table3" style="border-collapse: collapse" height="10"> <tr> <td height="9"> <p align="center"><font face="Verdana" style="font-size: 4pt"> </font></td> </tr> </table> <? } } ?> <? if($zapis=='zdjecia'){ $od_ile_fot = 1; $do_ile_fot = $ile_fotek; for ($ile_fot = $od_ile_fot; $ile_fot <= $do_ile_fot; $ile_fot++) { } ?>
mianowicie
jezeli dam zmienna $ile_fotek np na 10
pokaze 10x formularz z ladowniaem fotki i opisem
jeezli wysle dane do serwera to
wyswietli mi pokolei 10 opisow fotek lecz nie wyswietli mi 10x nazw podanych w formularzy (plikow)
prosze pomozcie mi mecze sie 3h i nie moge do tego dojsc