MySQL Forums
Forum List  »  PHP

How does mysql_connect in PHP work?
Posted by: Richard Maxwell
Date: January 12, 2011 10:26PM

Hi,

How does the PHP function mysql_connect work? Does it use ODBC or some other proprietary protocol to connect to MySQL? I found out that it uses an extension called php_mysql, but I don't know how it works, exactly. Also, if it does not use ODBC, is it faster than ODBC?

Also, I was wondering why mysqli_connect is better than mysql_connect.

Thanks,

Richard

http://www.advantage-computer.biz

Options: ReplyQuote


Subject
Written By
Posted
How does mysql_connect in PHP work?
January 12, 2011 10:26PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.