rpicms

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

commit d964fd0618e29fa034746d5664ee36f2a6135cd2
parent d9ed6b8cc93ab801d2abd34598f7fd3344152a7a
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 16:45:15 +0100

debug

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

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -241,10 +241,11 @@ class DbHandler { */ public function getPosts($post_id) { $id = $this->conn->prepare("SELECT id FROM posts"); - while ($id->execute()) { + echo $id; + /*while ($id->execute()) { $post_id_clean_array = $id->get_result()->fetch_assoc(); $post_id_clean = $post_id_clean_array["id"]; - } + }*/ if ($post_id == NULL) { $x = 1; while ($x < $post_id_clean+1){