„threadr/board/post.php“ ändern

master
Jakob 2020-03-08 16:38:58 +01:00
parent 988c264b90
commit 385584a2a0
1 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,10 @@
<?php
%REQUIRE_LOGIN%
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$query = "SELECT id, name, authentication_algorithm FROM users;";
?>
<section>
<form action="%CONTENT_DIR%/board/submit.php" method="post">
<form action="%CONTENT_DIR%/board/?action=submit" method="post">
<input type="text" name="post" maxlength="65535" placeholder="You can contribute to the conversation here. Tell us your story in up to 65535 characters..."/>
<input type="submit" value="Post">
</form>