<<<<<<< HEAD
prepare("SELECT * FROM post WHERE blog_id IN (SELECT user_id FROM user WHERE username='$user' AND password='$password') ORDER BY data_dodania")) { $sql->execute(); $sql->bind_result($post_id,$trash,$title,$description,$main,$img,$date,$mod_date); while ($sql->fetch()) {?> close(); } else die( "Błąd w zapytaniu SQL! Sprawdź kod SQL w PhpMyAdmin. $user $password" ); ======= >>>>>>> 4f6ead08b2af1624982230710450d3bc3d9daf92
ID Postu Tytuł Meta Description Obraz postu Data dodania Data modyfikacji
Edytuj Usuń
prepare("SELECT * FROM post WHERE blog_id IN (SELECT user_id FROM user WHERE username='$user' AND password='$password') ORDER BY data_dodania")) { $sql->execute(); $sql->bind_result($post_id,$trash,$title,$description,$main,$img,$date,$mod_date); while ($sql->fetch()) { echo ""; } $sql->close(); } else die( "Błąd w zapytaniu SQL! Sprawdź kod SQL w PhpMyAdmin. $user $password" ); $mysqli->close(); ?>
ID Postu Tytuł Meta Description Data dodania Data modyfikacji
$post_id $title $description $date $mod_date Edytuj Usuń
Dodawanie nowego