This is a discussion on types of object while connecting with mysql within the PHP Programming forums, part of the Web Development category; hi fronds, This section describes the driver object types. Object types Connection object: The objects of connection type implement database ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| hi fronds, This section describes the driver object types. Object types Connection object: The objects of connection type implement database connections. Connecting to a MySQL resource, while inexpensive, requires PHP to issue a call to the mysql client API via mysql_connect(). Passed as variables to this function are the connection arguments for the database host, user, password, etc. Once the MySQL database server has received the connection information, it will either return a success value, or a failure. Upon failure, the mysql_error() function can be used to determine what went wrong during the connection attempt Session object: The objects of session type used to SQL statements and retrieve the SQL query results. Every session object is bound to only one connection
__________________ ....................... Thanks, Venkatbi... |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How many types of buffers does use MySQL? | sundarraja | Database Support | 1 | 01-30-2008 03:54 AM |
| single Vs mutiple mysql connection object | venkatbi | PHP Programming | 1 | 11-22-2007 07:24 AM |
| Object reference not set to an instance of an object for crystal reports in .net | KiruthikaSambandam | Database Support | 1 | 08-03-2007 03:26 AM |
| How many types of authentication modes are there and what are the Types.... | Archer | ASP and ASP.NET Programming | 1 | 07-25-2007 03:48 AM |
| connecting database | nssukumar | Flash Actionscript Programming | 1 | 04-24-2007 11:14 PM |