On Wed, 3 Mar 2004, Juergen Mueller wrote:
> okay you're right!
> but it increased the migration process from ext/mysql to ext/mysqli in my
> opinion.
Having spent some time over the last few weeks investigating
ext/mysqli, I can say that the migration process is definitely
non-trivial if you're not already using some form of a database
abstraction layer.
It's not complex, but it's a bunch of work to reorder all the function
parameters, especially since some functions have been deprecated and
others reworked.
Alternatively, John Coggelshall has a compatability layer here:
http://www.coggeshall.org/show_source.php?filename=mysql2mysqli.php
It looks like it does a pretty good job mapping from ext/mysql to
ext/mysqli, but I haven't tried it myself. I've only read the source.
-adam
--
adam@trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!