commit 7de5e632475f8f1c3f205b57d43cd1b155bf4a56
parent 78623af2599193e878f466fbd4f66da3a4154b33
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 16:54:50 +0100
Is now everything working?? :D
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -13,7 +13,7 @@
printf("Verbindung fehlgeschlagen: %s\n", mysqli_connect_error());
exit();
}
- if ($resultat = $connection->query('SELECT * FROM posts WHERE id LIKE '.$id)) {
+ if ($resultat = $connection->query('SELECT * FROM posts')) {
while($daten = $resultat->fetch_object() ){
$post_id_clean = $daten->id;
var_dump($daten);
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -86,9 +86,7 @@
if ($empty){
$id = 1;
include('../../core/backend/blog/posts.php');
- echo $post_id_clean;
while ($x < $post_id_clean+1){
- echo "LOOP!!!!!!";
$read = "1";
echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>";
$x = $x+1;