Re: [PHP] Problem with inheritance mechanism.

2002-04-16 Thread Steve Dix
On 16 Apr 2002 at 12:59, Steve Dix wrote: > > I'm having a bit of a problem with the following classes. > Found the problem and it all comes down to the use of mysql_fetch_row as opposed to using mysql_fetch_array to get the results. For some reason mysql_fetch_row corrupts the object return

Re: [PHP] Problem with inheritance mechanism.

2002-04-16 Thread cal
Add a constructor to the pulldown_db: function pulldown_db($control,$ausgabe){ parent::pulldown(($control,$ausgabe); } // function pulldown_db($control,$ausgabe) Because PHP's ctors are named after the class when you subclass, you have to add one and call the parent's if you want it to fire.