Generally, most all web applications are going to follow the elements of CRUD: Create, Read, Update, and Delete. CodeIgniter 4 is a powerful PHP web development framework that provides a rapid development environment. The CodeIgniter 4 Models come enriched with built-in CRUD functionality, which is covered in this compilation of Medium posts…
Disclaimer: I originally published these articles first over on Medium, as part of the paywall in order to earn a small amount of compensation based on user read time, engagement, and views. However, I realize some readers may not be a member of the platform.
Therefore, I am sharing a friend link version of each article so that anyone can read and benefit from the posts. I do encourage you to become a Medium member (visit my sign-up link below). There are thousands of high-quality articles you can read from some of the best writers in the industry. And, you can read as many as you would like without limit.
Are you a Medium member? If so, receive an email notification each time I publish a blog post if you prefer the Medium platform. Not a member? No worries! Use my sign-up link (I will get a commission at no extra cost to you) and join. I really enjoy reading all the great content there and I know you will too!!!
If you enjoy the content written here, by all means, share this blog and your favorite post(s) with others who may benefit from or like it as well. Since coffee is my favorite drink, you can even buy me one if you would like!
CodeIgniter 4 CRUD Series with MySQL: Create
CRUD operations — Create, Read, Update, and Delete — are integral in any application in which data persists. Introducing a new row or rows of data is under the domain of Create and will be covered in this post.
CodeIgniter 4 CRUD Series with MySQL: Read
Now that project data exists in the database, chances are someone will want to see it. Typically, reading the data is 1 of a couple of different operations…
The Newsletter for PHP and MySQL Developers
Receive a copy of my ebook, “10 MySQL Tips For Everyone”, absolutely free when you subscribe to the OpenLampTech newsletter.
CodeIgniter 4 CRUD Series with MySQL: Update
Data seldom remains unchanged. Applications manipulate data that is in constant change. Therefore, data is constantly changing…
CodeIgniter 4 CRUD Series with MySQL: Delete
The SQL DELETE command is used to remove existing data from a database table. Perhaps you want to remove all the data. An unfiltered DELETE will do just that (Be careful!!!).
Consider making a donation as I continue to provide valuable content here on my blog. Thank you so much!!! Every bit is much appreciated and helps tremendously!
I am so excited that you have made it to the end of the post. As a bonus, and to show my appreciation, I am including a couple of more friend links to similar pieces of Medium paywall content I have written. These posts will help you in building those almighty important SQL Chops! Enjoy!
- Are MySQL BETWEEN Operator Queries Inclusive?
- MySQL COUNT(*) and COUNT(column or expression) — Differences
- How to find the first and last day of a month with Oracle SQL Date Functions (One of my personal favorites and a big hit for me)
Like what you have read? See anything incorrect? Please comment below and thank you for reading!!!
A Call To Action!
Thank you for taking the time to read this post. I truly hope you discovered something interesting and enlightening. Please share your findings here, with someone else you know who would get the same value out of it as well.
Visit the Portfolio-Projects page to see blog posts/technical writing I have completed for clients.
Be sure and visit the “Best Of” page for a collection of my best blog posts.
Josh Otwell has a passion to study and grow as a SQL Developer and blogger. Other favorite activities find him with his nose buried in a good book, article, or the Linux command line. Among those, he shares a love of tabletop RPG games, reading fantasy novels, and spending time with his wife and two daughters.
Disclaimer: The examples presented in this post are hypothetical ideas of how to achieve similar types of results. They are not the utmost best solution(s). The majority, if not all, of the examples provided, are performed on a personal development/learning workstation environment and should not be considered production quality or ready. Your particular goals and needs may vary. Use those practices that best benefit your needs and goals. Opinions are my own.