I'm currently using mysql_query()
to approach DB.
I understand that this method will be removed in the future so I want to learn a new api.
What in your opinion is the best way and why? PDO
or mysqli
? or there is another one I haven't heard about?
Thank you.