Simple Codeigniter CRUD application in Hindi (Create, Read, Update, Delete)

preview_player
Показать описание
"Simple Codeigniter CRUD application in Hindi (Create, Read, Update, Delete)" is a video tutorial based on Codeigniter 3, MySql and Bootstrap 4 in this video you will learn following concepts.

- How to create a Model in Codeigniter
- How to create a Controller in Codeigniter
- How to create a Model in Codeigniter
- How to use Active Query Builder in Codeigniter
- How to insert a record in a database.
- How to select a record in a database
- How to edit/update a record in a database
- How to delete a record in a database
- How to use session in Codeigniter
- How to use bootstrap in Codeigniter views.

---------

You can follow the instructions given below described in the video:-

CRUD Application
C :- Create
R :- Read
U :- Update
D :- Delete

We will follow the following steps to create a crud application in Codeigniter framework.

1) Download and Extract the Codeigniter framework in the htdocs folder.
3) Create a users table in the database using phpMyAdmin.
4) Create a controller called User in the controllers folder.
6) Create views called list, create, edit in views folder.
7) Create a model called User Model in the models folder.

Add User:-
8) To show Add User form, create a method called "create" in User controller.
9) Load create view in "create" method.
10) Write a "create" method in the User model to save a User in the database.
11) Apply validation and save form values in database and show success messages.

List Users:-
12) Create a method called "index" & Load "list" view in User controller to show all users using User_model.
13) Write an "All" method in the User model for fetching all the user records.
14) Write a loop to list all users in "list" view, also create an EDIT and DELETE button with links.

Edit User:-
15) Create an edit method in User controller to edit a User
16) Write a "getUser" method in the User model to fetch a single user row.
17) Load edit user view to edit a user with prepopulate user data.
18) Write a "updateUser" method in the User model to update a user record.
19) Apply validation & update form values in database and show success notification.

Delete :-
20) Create a delete method in the User controller.
21) Write a "deleteUser" method in the User model to delete a user record from the database.
22) Check if a record found in DB, if found then delete and redirect to list page with success message, else redirect with an error message.

Yeah! You have successfully completed a CRUD application in Codeigniter

------------------------

Download Source Code:

If you have any questions, please post your comment and I will try to help you asap. And please don't forget to Like, Subscribe & Share.

My other videos:-
Simple Blog Application in Codeigniter (Video Series)

What is Codeigniter in Hindi

🔶 Keywords 🔶
#codeigniter
#codeignitertutorial
#codeigniter_crud
------------------------

👇 Let’s connect online:

About Me: 🙋‍♂️
I’m Mohit Singh, a senior full-stack web developer with more than a decade of experience. Throughout my career, I’ve developed a broad range of web applications, from simple websites to complex systems. I’m proficient in multiple programming languages and frameworks, and I’m always eager to learn new technologies to enhance my skills.

As the founder and owner of the PHP Tech Life YouTube channel, my passion for teaching is at the forefront of everything I do. I created this channel with the goal of helping aspiring web developers learn in Hindi, making web development accessible and enjoyable for everyone.
Рекомендации по теме
Комментарии
Автор

Please subscribe to my channel and hit the notification bell, so you don’t miss any of my new videos.


If you want the source code, please share your email in the comment box.

PHPTechLife
Автор

Main php developer hu or mujhe codeigniter nahi hai mere job ke first day ko mujhe codeigniter pe crud application banane ka task mila apki video ki wajha se mera first task complete hua thanks a lot sir ap thanks a lot 😭

puneetsagar
Автор

awesome,
finally i learn how CI works.
i'm much more confident in coding a website.
thank you so much sir for this wonderfull session.

prashantgawai
Автор

Thank you for such a clear video ..only had problem with flash_ data ..success message not showing otherwise it worked perfectly

mayuritatiya
Автор

sir i did step by step with you and found everything you told. thank our very not doubt this is those that is "THE BEST VIDEOS"

MuhammadAsif-ycjp
Автор

I’m not even Indian but I understand what is going on. Language of code is amazing

codeitraw
Автор

Thankyou Mohit Sir For That CRUD In CI-3. It Will Help Me A lot For My Ongoing CI-3 Studies😊👌👍

shekharpaliwal
Автор

Thanks I was stuck in how one can change the controller method in on page.

dawnstar
Автор

good video about make CRUD app, I did learn step by step, Now I can make for my future projects in my job, grettings my friend!!!

diegoarmandovazquezramirez
Автор

Finally, I got a perfect video of crud ....it helped a lot ...thank you ...you are going to get more subscribers for your sequenceal logic 😎😎

savitamaurya
Автор

perfect CRUD in CI.. Everything working...👍

AJ-dfhh
Автор

Thank you so much..! It is one of the wonderful tutorials I have ever seen.! Your guidance is impressive.!

incrediblefaizi
Автор

Thank you brother!! Your teaching is very good.

vinayak_t
Автор

Excellent. Thanks for the video. God bless U. Love from Pakistan.

HamidMahmood
Автор

sir great sir sharing ur knowledge with us thank you so much carry on sir super

sptech
Автор

Superb sir very nice explaination easy to learn and code excellent knowledge i am big fan of yours

devasyainternationalpublic
Автор

Thank you so much sir
such a wonderful explanation.
wishing you very happy new year sir:)

poojamahanand
Автор

Waooo....its really working
Thank you for such a great tutorial🥰

aatikaati
Автор

sir awesome video, your explanation is very beneficial, one again thanks

reshmasharma
Автор

Yes I have completed successfully curd operations

priyankascorner