PHP Classes

Class Connect Database: Connect to a MySQL database

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,363 All time: 2,855 This week: 57Up
Version License PHP version Categories
mantrv-mysql 1.0The PHP License5PHP 5, Databases
Description 

Author

This is a very simple class to connect to a MySQL database.

It can connect to a given MySQL database host and select a given database.

The class can also display an error message and exit if the class script is accessed directly.

Picture of Mohammad al-herbi
Name: Mohammad al-herbi <contact>
Classes: 1 package by
Country: Saudi Arabia Saudi Arabia

 

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file config.php Conf. config
Accessible without login Plain text file config2.php Conf. config2
Accessible without login Plain text file index.php Example index
Accessible without login Image file logMysql Photo log
Plain text file mysql_class.php Class mysql_class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,363
This week:0
All time:2,855
This week:57Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3214
 
goood
12 years ago (Abo Sami)
70%StarStarStarStar