diff --git a/README.md b/README.md index 30c9eea..e6e903a 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/index.php b/index.php index 674e6da..484ca55 100644 --- a/index.php +++ b/index.php @@ -10,12 +10,7 @@ $result = mysqli_query($conn,$query); #fetch data $posts = mysqli_fetch_all($result, MYSQLI_ASSOC); - // echo "
"; - // foreach($posts as $post){ - // foreach($post as $p){ - // echo "
$p"; - // }echo "
"; - // } + #free result mysqli_free_result($result); #close connection @@ -57,4 +52,4 @@ - \ No newline at end of file +