In this tutorial we will make a class that will make the connection to our sql server. and all other classes will inherit it and extend it for more features. For all our database operations we will use prepared statements as they are more secure against mysql injection.
... Read MoreAll Categories » Programming (7-8 / 47 articles)
Dive into the world of programming with our comprehensive resources. Stay up-to-date with the latest programming news, explore tutorials and tips for Python, C++, PHP, and other popular languages, and find solutions to your coding challenges
For this tutorial, I assume that you have a basic knowledge of php and classes and objects, the programming language doesn't matter, for the principle of classes and object is the same. What will be the key point of this tutorial is to show you how to implement these abstract notions in a real life website using a real database.
... Read MoreRecent Articles
A Conky Classroom Clock for Tracking Lesson Time
19 Nov 2026
A Tiny Bash Todo List That Greets Every Terminal
19 Nov 2026
Most Viewed Articles
The Ultimate Vim Setup (My 2024 vimrc ) : Essential Commands, Configurations, and Plugin Tips
Views: 1.49K
12 Apr 2024
Complete Tutorial: Creating Categories and Subcategories Using Pages in Pelican
Views: 1.15K
24 Jun 2025