Welcome Guest, Not a member yet? Register   Sign In
PDO Extension
#6

[eluser]xwero[/eluser]
$db = new MyPDO(‘xx’, ‘xx’, ‘xx’, ‘xx’) will work because it's php native.

If you follow the MVC guidelines strictly it should be loaded as a model but because the loader class initializes models and libraries you have to use the load the class as a helper or plugin hack.


Messages In This Thread
PDO Extension - by El Forum - 09-29-2008, 12:40 AM
PDO Extension - by El Forum - 09-29-2008, 01:10 AM
PDO Extension - by El Forum - 09-29-2008, 01:28 AM
PDO Extension - by El Forum - 09-29-2008, 01:50 AM
PDO Extension - by El Forum - 09-29-2008, 02:00 AM
PDO Extension - by El Forum - 09-29-2008, 02:13 AM
PDO Extension - by El Forum - 09-29-2008, 01:17 PM
PDO Extension - by El Forum - 09-30-2008, 12:37 AM
PDO Extension - by El Forum - 09-30-2008, 10:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB