Marthaj
asked on
PHP 7.4 and using PDO instead of sqlsrv
I am converting a program from PHP 5.6 to use PHP 7.4. And I am confused about PDO.
I thought in using PHP 7.4, I would need to change all of my SQL statements to use PDO syntax.
But I am finding out, that doesn't seem to be the case. I understand PDO is probably the better
approach of the two.
Could someone be as so kind to clarify for me ??
Thank you in advance.
I thought in using PHP 7.4, I would need to change all of my SQL statements to use PDO syntax.
But I am finding out, that doesn't seem to be the case. I understand PDO is probably the better
approach of the two.
Could someone be as so kind to clarify for me ??
Thank you in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you both for responding. Clears the air for me ! They have always used MS SQL Server and I can not at this point, see them changing it. Upgrading - yes .....changing to another Database type - nope...but now you watch...after writing this I may end up with egg on my face .LOL.
https://github.com/microsoft/msphpsql