Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
A blogging website with CRUD functionalities.
One can add new blogs, edit and delete existing ones.

built using : HTML/CSS/JS/PHP/MySQL
built using : HTML/CSS/JS/PHP/MySQL
>todo:
* [x] bookmark
* [x] user account functionality yet to be added.

#user account functionality yet to be added.

#make appropriate changes in url path username and password in config/config.php as per localhost.
make appropriate changes in url path username and password in config/config.php as per localhost.
9 changes: 2 additions & 7 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@
$result = mysqli_query($conn,$query);
#fetch data
$posts = mysqli_fetch_all($result, MYSQLI_ASSOC);
// echo "<hr>";
// foreach($posts as $post){
// foreach($post as $p){
// echo "<br> $p";
// }echo "<hr>";
// }

#free result
mysqli_free_result($result);
#close connection
Expand Down Expand Up @@ -57,4 +52,4 @@
</div>
<?php require('inc/footer.php');?>
</body>
</html>
</html>