awaytama.blogg.se

How to update image in php
How to update image in php













how to update image in php how to update image in php

so, let's move on to the next step.Ĭreate a file called index.php and paste in it the following code: Each post will be displayed with an edit and delete button to permit the user to update posts as well as delete them.įirst, create a database named crud. In the crud database, create a table called info. The info table should have the following columns:

how to update image in php

That's what we are going to be doing in this post.Ī user who visits our site will be able to create posts that will be saved in a mysql database, retrieve the posts from the database and display them on the web page. Creating, editing, updating and deleting content on a website is what makes the site dynamic.















How to update image in php