maybe i fixed it
parent
e7949e4bfb
commit
f64f00685a
|
@ -3,7 +3,7 @@ $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w
|
|||
$error = false;
|
||||
$error_message = "";
|
||||
if (!$error) {
|
||||
$statement = $pdo->prepare("SELECT * FROM posts WHERE board_id=$id ORDER BY post_time asc");
|
||||
$statement = $pdo->prepare("SELECT * FROM posts WHERE board_id='$id' ORDER BY post_time asc");
|
||||
$statement->execute();
|
||||
foreach($statement->fetchAll() as $ROW) {
|
||||
echo "<section>"
|
||||
|
|
Loading…
Reference in New Issue