„threadr/board/post.php“ ändern

master
Jakob 2020-03-08 16:39:47 +01:00
parent 385584a2a0
commit 997adffeb0
1 changed files with 2 additions and 3 deletions

View File

@ -1,10 +1,9 @@
<?php <?php
%REQUIRE_LOGIN% %REQUIRE_LOGIN%
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$query = "SELECT id, name, authentication_algorithm FROM users;";
?> ?>
<section> <section>
<form action="%CONTENT_DIR%/board/?action=submit" method="post"> <form action="%CONTENT_DIR%/board/?id=$id&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="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"> <input type="submit" value="Post">
</form> </form>