Welcome Guest, Not a member yet? Register   Sign In
database weirdness
#3

[eluser]DougW[/eluser]
That doesn't actually work because the variables that I want to use for database host, name user and password don't exist yet. So when the class is instantiated I get warnings. I got around it by defining variables in index, then reassigning them after the user logged in THEn calling for a manual connection in the constructor of the model.

Thanks!


Messages In This Thread
database weirdness - by El Forum - 08-16-2009, 10:05 PM
database weirdness - by El Forum - 08-17-2009, 02:13 AM
database weirdness - by El Forum - 08-17-2009, 08:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB