prepare("SELECT blog_id FROM post WHERE post_id =$post")) { $sql->execute(); $sql->bind_result($id_blog); while ($sql->fetch()) { $blog_id=$id_blog; } } $sql->close(); ?> Bloggero
prepare("SELECT * FROM post WHERE post_id =$post")) { $sql->execute(); $sql->bind_result($post_id,$trash,$title,$description,$main,$image,$date,$mod_date); while ($sql->fetch()) { ?>



Ocena:
close(); } else die( "Błąd w zapytaniu SQL! Sprawdź kod SQL w PhpMyAdmin." ); if ($sql = $mysqli->prepare("SELECT * FROM comments ORDER BY comment_id")) { $sql->execute(); $sql->bind_result($comment_id,$post_id,$username,$tekst,$data_dodania, $data_modyfikacji); ?>

Komentarze

fetch()) { ?>
close(); $mysqli->close(); } ?>

Dodaj komentarz: