About a year ago, MySQLi is optional for PHP programmers. You can
choose not to learn it. But now, MySQLi is necessary for you. Because
the traditional method of using a few PHP built-in functions to operate
MySQL database is gradually being abandoned.
For PHP programmers,
this basically means you only have two options left when it comes to
operating database. You can either choose MySQLi or PDO.
PDO is a
lot more powerful than MySQLi. But by comparison, MySQLi is really
simple to use and most importantly, much easier to learn, especially for
This course also contains all the basic MySQL database knowledge you need to learn before you can operate it.
You will learn the structure of a database and data type used by it. Then you will learn how to design a database.
After you have successfully created your very first database, next we will learn how to operate the database.
class is a PHP tool that can help us operate database, but it would not
be the first tool we learn. We will learn how to use PHPMyAdmin first.
We will learn how to manage database using PHPMyAdmin:
- how to create and delete tables;
- how to put new data into table;
- how to update and delete data stored in table;
After you can proficiently use PHPMyAdmin, we will start to learn MySQLi.
First, we will learn how to get connected to database using the two options provided by MySQLi class.
want the skills you learn from this course to be as complete as
possible, therefore, we will also learn how to prepare for accidents,
meaning what kind of pre-cautions we should take in case we cannot get
connected to database.
After we can connect to database properly, we will learn the four main database operations using MySQLi class.
We will start with the most complicated operation: retrieving data from database.
I just came from the beginner stage one year ago, I still remember
which parts are more likely to be confusing or tricky for new learners.
Therefore, you will find we have lots of reviews during our study.
you can retrieve data from database, we will learn how to select data
you want and how to organize all the retrieved data.
will learn how to update and delete data already stored in the database.
These two operations are easier and simpler by comparison.
end, we will learn how to put data into the database. You will need a
few HTML techniques here. If you do not have any knowledge in HTML,
don't worry, there is an HTML cram course for you.
In addition, we
will also learn how to protect your database and make it as safe as
possible, including how to deal with problems caused by special
In the end, we will have a comprehensive review to make sure you have got everything.