mysql_connection class 1.1.2
mysql_connection 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.
mysql_connection class 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
More popular Database Tool
- PHP DataGrid 4.2.8 (1 year, 6 months 4 days ago)
- ajaxCRUD 5.0 (2 years, 4 months 25 days ago)
- phpMyDataGrid 2007 - AJAX Enabled Datagrid 1.0 (2 years, 4 months 25 days ago)
- XAJAX Grid 1.0 (2 years, 4 months 25 days ago)
- PHP MySQL Connection Class 1.0 (2 years, 8 months 29 days ago)
Listing Files

class.mysql.connection.php- 4.9 KB
- 10/24/2005 06:09:24

example.php- 575 Bytes
- 10/24/2005 06:09:24
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
