Re: [PHP] Object is not instatiated on POST, Fatal error

2004-07-02 Thread Daniel Kullik
You might as well add a reference of your db-object to global scope. [code] $GLOBALS['_db_object'] =& $db; [/code] Then you could access it anywhere in your code like this: [code] $GLOBALS['_db_object']->sumbitQuery($query); [/code] Daniel Angelo Binc2 wrote: Ok guys, I have fixed the problem and i

RE: [PHP] Object is not instatiated on POST, Fatal error SOLVED

2004-07-02 Thread Angelo binc2
Ok guys, I have fixed the problem and its a really easy fix. basically the object was out of scope and therefore PHP treated my object name as a new variable and therefore it obvioulsy was not set because it is a new variable. SO the way I got it working was to just call the code directly and not p