MySQLi

88 views
Skip to first unread message

Dan Walker

unread,
Jul 9, 2013, 9:10:56 AM7/9/13
to simple-php...@googlegroups.com
Is it possible to change the class.database.php file to use mysqli?

Tyler Hall

unread,
Jul 9, 2013, 2:39:09 PM7/9/13
to simple-php...@googlegroups.com
There's no built-in way to switch to mysqli. The database class would likely need to be rewritten. That said, if anyone would like to code up a drop-in replacement...

Tyler


On Tue, Jul 9, 2013 at 8:10 AM, Dan Walker <d...@danwalker.com> wrote:
Is it possible to change the class.database.php file to use mysqli?

--
You received this message because you are subscribed to the Google Groups "Simple PHP Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-php-frame...@googlegroups.com.
To post to this group, send email to simple-php...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-php-framework.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Max Fierke

unread,
Jul 9, 2013, 6:45:56 PM7/9/13
to simple-php...@googlegroups.com

Hey Dan,

Two years ago I posted a PDO version of the database layer that you might find useful: https://github.com/maxfierke/arcanecms/blob/master/includes/class.database.php

It supports MySQL and SQLite.

Max

Reply all
Reply to author
Forward
0 new messages