Database Code Portability

From: Date: Sat, 17 Feb 2001 04:54:32 +0000
Subject: Database Code Portability
Groups: php.general 
Request: Send a blank email to php-general+get-40295@lists.php.net to get a copy of this message
I haven't seen this issue discussed, sorry if I missed it: My question is why are the PHP database functions so unportable? Is there a reason why they have to be specific to, say MySQL. It seems to me (even though I am an amatuer to this stuff) that the code should be much more easily portable from one db to another? Do most coders add an abstraction layer themselves? Or maybe people just don't port PHP code much and so don't worry about it? Mainly curious.... Dave

« previous php.general (#40295) next »