Create a custom MySQL connection error |
I answered a lot of my questions above, just to come up with more questions :-D hah
Heres the code thus far, (obviously in dev, hence all the die() statements) PHP Code: <?php This works, but obviously it only works with the mysqli driver. This application will actually be distributed as Open Source, so its possible that whoever uses it, uses a different driver. I know the DB_Driver library has methods to accommodate for this, but obviously it isn't loaded yet. What would you recommend I do? Or do I really even have any other option? (Short of mimicking the db_connect and db_select methods in the DB_Driver manually) Thanks! |
Messages In This Thread |
Create a custom MySQL connection error - by jLinux - 10-19-2015, 09:34 AM
RE: Create a custom MySQL connection error - by jLinux - 10-19-2015, 09:59 AM
RE: Create a custom MySQL connection error - by mwhitney - 10-19-2015, 10:52 AM
RE: Create a custom MySQL connection error - by jLinux - 10-19-2015, 01:56 PM
RE: Create a custom MySQL connection error - by jLinux - 10-19-2015, 03:52 PM
RE: Create a custom MySQL connection error - by mwhitney - 10-20-2015, 11:55 AM
|