0

Hello every one
whats the difference between mysql_.... and mysqli_.... functions in PHP???
Arent they both for mysql???

2
Contributors
2
Replies
8
Views
6 Years
Discussion Span
Last Post by Hani1991
0

They are both database langauages and I think the difference between them is to do with the version of PHP that is used in the application. For example, if you're using the latest version of PHP and that is php5, you will need to use mySQLi because it's the improved and newer version of mySQL. Therefore, mySQLi gives PHP developers new features to use such as

1-Object-oriented interface .

2-Support for Prepared Statements .

3-Support for Multiple Statements .

4-Support for Transactions .

5-Enhanced debugging capabilities .

6-Embedded server support .

For more information on the differences between them and what features they offer, here is a link for you


I hope this helps you.

Thanks,

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.