PHP Classes

MySQL access class: MySQL database access wrapper

Recommend this page to a friend!
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 471 This week: 1All time: 6,015 This week: 560Up
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: 5 packages by
Country: Canada Canada
Age: 42
All time rank: 169837 in Canada Canada
Week rank: 416 Up11 in Canada Canada Up
Innovation award
Innovation award
Nominee: 1x

Details

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:471
This week:1
All time:6,015
This week:560Up