Re: [PHP] Re: Wierd error

2005-11-17 Thread Chris Boget
There is nothing weird when this function takes a variable as the argument and your using an object, read the manual Are you suggesting that settype() can't be used for objects? The documentation doesn't seem to indicate that... You could try:- $dbObject = (null) $dbObject; Ive not tested tha

Re: [PHP] Re: Wierd error

2005-11-17 Thread Chris Boget
There is nothing weird when this function takes a variable as the argument and your using an object, read the manual http://php.net/settype I'm not sure what you mean here. Nowhere on the doc page for settype() (at least, not that I saw) does it say you can't pass an object as the first argu

[PHP] Re: Wierd error

2005-11-17 Thread James Benson
There is nothing weird when this function takes a variable as the argument and your using an object, read the manual http://php.net/settype You could try:- $dbObject = (null) $dbObject; Ive not tested that but think it should work! James Chris Boget wrote: I'm seeing the following