add postModel

This commit is contained in:
2024-07-01 13:09:43 +03:00
parent c4bc65e5dc
commit b8c98693f8
5 changed files with 80 additions and 1 deletions

14
views/post.php Normal file
View File

@ -0,0 +1,14 @@
<form action="post.php" target="_blank" method="post">
Автор:<br>
<label>
<input type = "text" name = "author" required size="50" autofocus placeholder="Автор">
</label> <br> <br>
Пост:<br>
<label>
<textarea name = "post" rows="10" cols="50" placeholder="Текст"></textarea>
</label> <br> <br>
<input type = "submit" value="Подтвердить">
<input type="reset">
</form>