How to Delete Database in MySQL

MySQL is a database server to manage relational databases. There are some methods to delete a database from the MySQL server. Here we are going to learn to delete a database via MySQL command line. You can use Microsoft cmd, Linux terminal or MAC terminal which one you are using. In this tutorial, we are […]

[SOLUTION] Fatal Error: Uncaught Error: Call to Undefined Function Mysql_connect()

If you are getting “fatal error: uncaught error: Call to undefined function mysql_connect()” in your PHP project, then do not worry. Because here, we will resolve the call to undefined function mysql_connect() error step by step. Solution: Call to Undefined Function Mysql_connect() To solve the Fatal Error: Uncaught Error: Call to Undefined Function Mysql_connect(), first of […]

Mysqli_fetch_assoc vs Mysqli_fetch_array [With Example]

mysqli_fetch_assoc() and mysqli_fetch_array() both are used to print result data of SQL query in PHP. Mysqli_fetch_assoc vs Mysqli_fetch_array has just a single difference in accessing resultant data. Difference between mysqli_fetch_assoc() and mysqli_fetch_array() The major difference between mysqli_fetch_assoc and mysqli_fetch_array is the output format of result data. mysqli_fetch_assoc returns data in an associative array and mysqli_fetch_array […]