„threadr/board/post.php“ ändern
parent
988c264b90
commit
385584a2a0
|
@ -1,8 +1,10 @@
|
||||||
<?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/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="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>
|
||||||
|
|
Loading…
Reference in New Issue