Author |
PDO or MySQLi |
IraqPilot BF2 Admin
Posts: 60
Joined: 18.11.09 |
Posted on 15-02-2013 14:29 |
|
|
currently, i've just finished learning mysql_* however i'm aware this is deprecated and hence unwise to use for starting new projects. i'm wondering which is easier to learn and better to use (note: i dont intend to switch database systems)? thanks |
Author |
|
Krupp23 Administrator
Posts: 3169
Joined: 26.01.07 |
Posted on 15-02-2013 14:39 |
|
|
PDO - even if you don't intend to switch the DBMS it'll come in handy for future projects when you don't have to care about underlying DBMS...
/EDIT: yet, if you will always use MySQL, then use mysqli (because you don't want to run into the trap of providers not having PDO installed)
Hope for the best, prepare for the worst.
Edited by Krupp23 on 15-02-2013 14:46 |
Author |
|
IraqPilot BF2 Admin
Posts: 60
Joined: 18.11.09 |
Posted on 15-02-2013 14:50 |
|
|
ok, thanks - more to learn and it looks complicated lol hopefully wont be too different to mysql |
Author |
|
IraqPilot BF2 Admin
Posts: 60
Joined: 18.11.09 |
Posted on 15-02-2013 15:15 |
|
|
Just contacted them to confirm, they don't support PDO but they do support mysqli so thanks for the edited bit. Seeing as I have already purchased a hosting plan from them weeks back, I'm left with no choice lol. |