PHP CRUD OPERATION (CREATE,READ,UPDATE,DELETE) USING MYSQLI OBJECT ABOUT THE GOLDEN TEMPLE - CHAPTER 1 HISTORY OF AMRITSAR CITY
PHP CRUD OPERATION (CREATE,READ,UPDATE,DELETE) USING MYSQLI OBJECT ABOUT THE GOLDEN TEMPLE - CHAPTER 1 HISTORY OF AMRITSAR CITY
STEP 1 : First I have created the table `Golden temple` by using four fields `user_id`, `chapter_no`, `chapter_name` and `image` and clicked on Save.
STEP 2 : First I have created a contents login page where once I provide the Chapter No. and Chapter Name and click on Login it will show me the popup login successfully and my display page will appear.
STEP 4 : Once the display page appears after login I will be able to see three buttons in `Action` first one is `Description`, second one is `Edit` and third one is `Delete`.
STEP 6: Once I click on the second button `Edit`, it will redirect me to `Contents Update Form` where I can make changes in any field like Chapter No. or Chapter Name or Image, but here I have make changes on Chapter Name and click on Update. Once I click on Update, it will prompt me as `Data Updated` and after that once I go back to Display Page I will be able to see the Updated Display Page.
STEP 7: Once I click on the third button `Delete`, it will prompt me `Data Deleted...` and once I click on OK the data will be deleted and if I go back the data will not be deleted and it will reflect in my display page.
STEP 8: Once I click on Logout option in display page it will prompt me `Logout Successfully...` and once I click on OK it will redirect me to login page for further login.
.webp)
Comments
Post a Comment