comparison index.php @ 27:6125c7a882b8

Cette requete ne devrait pas s'executer en mode debug en production.
author Franck Deroche <webmaster@defr.org>
date Thu, 01 Nov 2007 17:41:54 +0100
parents ff57b45eda37
children a6c3716cab6a
comparison
equal deleted inserted replaced
26:710fe2fd2ff7 27:6125c7a882b8
35 WHERE t.Tag='{$_GET['tag']}' 35 WHERE t.Tag='{$_GET['tag']}'
36 ORDER BY num_mess DESC 36 ORDER BY num_mess DESC
37 "; 37 ";
38 } 38 }
39 $db = Factory::getDB(); 39 $db = Factory::getDB();
40 $db->debugquery($query); 40 $db->query($query);
41 while($row = $db->GetRow()) { 41 while($row = $db->GetRow()) {
42 $post = new Post($row); 42 $post = new Post($row);
43 $sk->addBlogPost($post->format()); 43 $sk->addBlogPost($post->format());
44 } 44 }
45 echo $sk; 45 echo $sk;