Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
[PHP] Login & Logout
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Weasel" data-source="post: 417351" data-attributes="member: 9520"><p>Object-Oriented MySQLi and PDO are both an equal amount of lines, PDO might even be one shorter. Most developers will use PDO, as it has way more options than MySQLi, which only supports the MySQL driver, as where PDO supports 12 databses. MySQLi does not support named parameters, which PDO does, as they contribute to code readability.</p><p></p><p>Besides that, PDO is mainly the industry standard. MySQLi is just an easy drop-in to replace MySQL. Personally, I think MySQLi will be deprecated eventually too.</p></blockquote><p></p>
[QUOTE="Weasel, post: 417351, member: 9520"] Object-Oriented MySQLi and PDO are both an equal amount of lines, PDO might even be one shorter. Most developers will use PDO, as it has way more options than MySQLi, which only supports the MySQL driver, as where PDO supports 12 databses. MySQLi does not support named parameters, which PDO does, as they contribute to code readability. Besides that, PDO is mainly the industry standard. MySQLi is just an easy drop-in to replace MySQL. Personally, I think MySQLi will be deprecated eventually too. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
[PHP] Login & Logout
Top