You might want to take it even further ....to pdo
http://de2.php.net/pdo
problem with throwing error
Moderator: General Moderators
Better then mysqli ?volka wrote:You might want to take it even further ....to pdo
http://de2.php.net/pdo
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
In other aspects, not necessarily.
If you are used to the mysql_* family of functions then the MySQLi functions will come very natural to you. PDO introduces a new set of standard DB interaction functions that are nice once you learn them, but do take a little getting used to.
Also, PDO is very extensible, as long as you have the approriate DB drivers on the server.
If you are used to the mysql_* family of functions then the MySQLi functions will come very natural to you. PDO introduces a new set of standard DB interaction functions that are nice once you learn them, but do take a little getting used to.
Also, PDO is very extensible, as long as you have the approriate DB drivers on the server.
volka wrote:And that's unfortunately the big stopperEverah wrote:Also, PDO is very extensible, as long as you have the approriate DB drivers on the server.
I was already suprised bystaar2 wrote:oh k i found that mysqli is installed to my server so i can use that. It should be better then mysql right ?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Getting the PDO drivers to work correctly is the one thing stopping me from using it exclusively. I can make it work with MySQL/PostgreSQL, but trying to get it to work right with Sybase/MS SQL is a pain in the butt that I cannot take the time to try to fix. It is just plain easier to use ADODBlite or some other DBAL.
I do toy with PDO when I make my own local apps though. It is a neat extension.
I do toy with PDO when I make my own local apps though. It is a neat extension.