IT Community - Software Programming, Web Development and Technical Support

types of object while connecting with mysql

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 11-22-2007, 05:51 AM
venkatbi venkatbi is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 80
venkatbi is on a distinguished road
Post types of object while connecting with mysql

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...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 05:00 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0