MariaDB - PHP Syntax - W3points | w3schools | TutorialPoint | | w3school

PHP gives a choice of capacities to working with the MySQL database. These capacities perform errands like getting to it or performing operations, and they are completely good with MariaDB. Basically call these capacities as you would call some other PHP work.

The PHP functions you will use for MariaDB conform to the following format −


mysqli_query($connect,"SQL statement");
         $connect = mysql_function(v1, [v1,...]);
         if( !$connect) {
            die ( "Error: Error message here" );
         // MariaDB or PHP Statements