mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-06-15 11:39:19 +00:00
pouet mise a jour pouet
This commit is contained in:
@ -261,7 +261,6 @@ class Post {
|
||||
$p = Post::list(true, 1)[0]->getId();
|
||||
|
||||
$tags = $post->getTags();
|
||||
var_dump($tags);
|
||||
if(count($tags) >= 1) {
|
||||
$q = "INSERT INTO post_tag (post_id, tag) VALUES ( :post , :tag )";
|
||||
$prepared = $pdo->prepare($q);
|
||||
@ -320,6 +319,7 @@ class Post {
|
||||
$prepared->bindValue(":dt", $dt);
|
||||
$prepared->bindValue(":id", $id);
|
||||
$prepared->execute();
|
||||
var_dump($prepared->errorInfo());
|
||||
|
||||
$tags = $post->getTags();
|
||||
if(count($tags) >= 1) {
|
||||
|
Reference in New Issue
Block a user