PHP Classes

Class Connect Database: Connect to a MySQL database

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 1,362 This week: 1All time: 2,851 This week: 560Up
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
Age: 31
All time rank: 19598 in Saudi Arabia Saudi Arabia
Week rank: 411 Up7 in Saudi Arabia Saudi Arabia Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,362
This week:1
All time:2,851
This week:560Up
User Ratings User Comments (1)
 All time
Utility:66%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3144
 
goood
11 years ago (Abo Sami)
70%StarStarStarStar