rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit e49a67589334be14782fd40fe47aec216c937739
parent 2fea55652886b68d73f5958aadd2ce3db516fa1c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 17:38:37 +0100

more debug

Diffstat:
Mcore/api/v1/DbHandler.class.php | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -254,6 +254,7 @@ class DbHandler { echo $id; echo "</br>"; echo $post_id_clean; + echo "</br>"; $stmt = $this->conn->prepare("SELECT id,title,text,author,category,date FROM posts WHERE id = ?"); $stmt->bind_param("i", $id); if ($stmt->execute()) { @@ -269,6 +270,7 @@ class DbHandler { return NULL; } $x = $x+1; + echo $x; $id = $id+1; } }else{