connection

Create a file index.php and insert.php. Also create a DataBase with some name lets say mydb in mysql. After creating database named as mydb add a table named as mydbtb in it with four fields. If you do not know about mysql then just open it and create a database mydb in it and run […]

{ 0 comments }

This example describes that how we can find that database and mySQL connections are established or not and what to do if one of the connections is not established. First we define dbuser, dbpassword and database name and then create a db connection and mysql connection and then check these if these are established and […]

{ 0 comments }