Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #15698
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Which API for mysql |
| Date | 2015-10-13 08:49 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mviugv$vb8$1@dont-email.me> (permalink) |
| References | <d84b0sFiu1gU1@mid.individual.net> |
On 10/13/2015 8:16 AM, Derek Turner wrote: > It would appear that the mysql API that I used happily a couple of years > ago has now been deprecated in php 5.5 > > Of the other two which is the better way to go PDO or mysqli? and why? > PDO is good if you may use a different database such as PostgreSQL in the future. You'll need fewer changes to the code. Personally, I prefer mysqli if the code won't be used with any other database. But some people will tell you use PDO all of the time. It's all a matter of personal preference. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Which API for mysql Derek Turner <frderek@suremail.je> - 2015-10-13 12:16 +0000
Re: Which API for mysql Jerry Stuckle <jstucklex@attglobal.net> - 2015-10-13 08:49 -0400
Re: Which API for mysql Derek Turner <frderek@suremail.je> - 2015-10-13 13:06 +0000
Re: Which API for mysql Gregor Kofler <usenet@gregorkofler.com> - 2015-10-13 16:46 +0200
csiph-web