<?php echo('<form action="" method="post"><table width="800" align="center" bgcolor="#DFEECE" cellpadding="0" cellspacing="0"> <tr> <th class="header" colspan="2">Zmień treść plików</th> </tr> <tr> <th>Wybierz:</th> <th><select name="page">'); $dir = './'; } } $tresc = ''; $tresc .= $str; } </tr></form> <tr><form action="" method="post"> <th colspan="2"><input type="hidden" name="page" value="'.$_POST['page'].'" /><textarea cols="50" rows="10" name="tresc">'.$tresc.'</textarea></th> </tr> <tr> <th colspan="2"><input type="submit" value="Zapisz" name="submit"/></th> </tr> </form> </table>'); if($_POST['tresc']){ if($write){ } } ?>
Gdy wpisuje kilka lini do formularza i klikam zapisz to robi do połowy a potem sie na jakiś czas zacina. Nie powinno tak być. Jak to poprawić?