PHP Classes
Icontem

Class: mysql_connection


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mathieu Dumoulin  >  mysql_connection  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: mysql_connection Support forum
Base name: mysql
Description: Wrapper for several MySQL connection information
Related top rated classes:
Version: -
Required PHP version: -
Licenses: Freely Distributable
Freeware
The PHP License
All time users: 1131 users
All time rank: 2270
Week users: 1 user
Week rank: 3563
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Mathieu Dumoulin
Name: Mathieu Dumoulin <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Canada Canada - PHP jobs in Canada
Home page: ???
Age: ???
All time rank: 1411
Week rank: 1920

Groups

Group folder image Databases Database management, accessing and searching View top rated classes

Detailed description

Current Version: 1.1.2

This class is in charge of establishing a connection to the MySQL server.
This class is a wrapper of the basic functions like open, close, send sql,
send command. It allows personnalized error trapping and can also trap errors
for you but in a very gruesome way stopping all execution.

It also offers several usefull functions like:
- sql_insert_id() which returns the last inserted id by this connection
- sql_data_format() which will transform any ' into a \' format so the sql
string will not suffer brutal stops because of a misplaced '

The basic information you need to use this class is what follows:
Step 1: Create the object
needed: hostname, username, password and database used by this connection
Step 2: Open the connection
call: open()
Step 3: Send any sql request or sql command
call: send_result_sql() or send_command_sql()
Step 4: Close the connection
call: close()

For more information on: Usage, Technical data, Version History
Lookup the files for this class on the web site http://www.phpclasses.org/

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file class.mysql.connection.php Class Contains mysql_connection class
Plain text file example.php Example Example script
Download all files: mysql.tar.gz mysql.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products