PHP Constructor Not Called Upon Instantiation?

You named your function contruct() where it should be construct() This is a very common error, you should probably get some sleep.

You named your function __contruct() where it should be __construct(). This is a very common error, you should probably get some sleep.

3 To think that this "typo" has kept me stuck for the last 3 weeks. ^_^;; I think I'm going to call it the typo from hell. Live and learn.

Thanks for your help. I'm glad to be moving forward again, and at least I learned a lot about debugging PHP in the process. – Jim Fell Jan 4 at 20:52 Aye, if a function is not being called when it's supposed to (either on object instantiation or on a regular function call), assuming no errors are logged, it's very likely you've just mistyped the function name (either on the call or on the function declaration).

Good luck next time :D – Truth Jan 4 at 20:56.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions