Following is the code in my connectivity.php file.
Its gives the following error even when i am passing the connection object to mysqlli_query(). Please can you guys help me out as to why it is throwing this error even when i am able to successfully connect to the database.
( ! ) Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\wamp\www\GUI_Version3\connectivity.php on line 32