PHP Classes
elePHPant
Icontem

MySQL access class: MySQL database access wrapper

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-01-24 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 463 All time: 5,613 This week: 1,486Up
Version License PHP version Categories  
mysql_access_class 1.0GNU General Publi...4Databases
Description Author  

This class implements MySQL database access wrapper. It can:

- Connect to a given MySQL database server host
- Execute SQL queries
- Retrieve query results into arrays
- Execute queries that return the number of rows that a given SQL query would return
- List the database tables

Picture of Bimal Poudel
Name: Bimal Poudel <contact>
Classes: 4 packages by
Country: Nepal Nepal
Age: 33
All time rank: 17003 in Nepal Nepal
Week rank: 1504 Up2 in Nepal Nepal Up

Details provided by the author  
11:25 AM 1/24/2009

Call for proposals:

If you need expert level database and website programming, please write to
poudel@bimal.org.np or leave me a comment at http://bimal.org.np
In an offshore community, I and my team cal deliver you the highest quality
productions.

Thanks.



MySQL database access class
---------------------------------------------------------------------------------------------
This class is used to access the mysql database using php. Because, it has been used for a longer period of time over many websites, I think, it to become a matured php class. This made me a reason to allow my work available to be in a public domain.

You can contact me for a support. I will try to answer on serious case reagarding this class.
Thanks for using this class.

Step1 1: Modify config.mysql.inc.php file for your suitable connections to multiple databases.

Step 2: Read out how the datbase class is being used, in index.php.

Step 3: Use sample database enries in class_database.dmp file.

Step 4: Modify and use resotre.bat file before you continue.

Step 5: Congrats. I have been using this class since 2006, and have been producing much robust websites.
	This class is tested over many platforms, and used to produce hiqh quality websites within a 
	limited time frame.

	If you are using this for your own purpose, please let me know your feelings.

	You may not modify this class because:
		* It is already tested,
		* It has a lot of revisions and maturity.
		* There is no real need to modifiy this.

	However, if you do modify, please let me know. You may use this class file to keep it in a 
	commercial production. But, please write about my website and name in some visible pages,
	like, about us, and the used classes.

	Thank you for re-engineering websites.


See some sample websites,
	bimal.org.np
	creationnepal.com
	html-slicing.com
	viraltracker.com
	shrugle.nl

There are many other websites that use this class.
Ask me for personal details and experience with these websites.
  Files folder image Files  
File Role Description
Accessible without login Plain text file backup.bat Data backup samle database
Plain text file class.mysql.inc.php Class Main database access class for mysql
Accessible without login Plain text file class_database.dmp Data basic database dump
Accessible without login Plain text file config.inc.php Aux. basic application configurations
Accessible without login Plain text file config.mysql.inc.php Conf. mysql connection setup to multple servers for easy portability
Accessible without login Plain text file create.sql Data How I created the sample database - example only
Accessible without login Plain text file index.php Example Basic example file
Accessible without login Plain text file license.txt Lic. What you should and should not do.
Accessible without login Plain text file out.txt Data sample iteration in the database result set
Accessible without login Plain text file readme.txt Doc. Introduction file
Accessible without login Plain text file restore.bat Data Create database - script

 Version Control Unique User Downloads Download Rankings  
 0%Total:463All time:5,613
 This week:0This week:1,486Up