Re: Re: Arrays/OOP

From: Date: Tue, 05 Mar 2002 19:05:48 +0000
Subject: Re: Re: Arrays/OOP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-87318@lists.php.net to get a copy of this message
Michael Kimsal wrote: > Joshua E Minnie wrote: > > > > > while(!feof($fp)) { > > $temp = fgetcsv($fp, 1024, ":"); > > $event_list[$i] = $event_object->init($temp[0],$temp[1],$temp[2],$temp[3],$temp[4],$temp[5],$t emp[6],$temp[7],$temp[8]); > > $i++; > > } > > > Without seeing more of the code, I can't say for certain, but I suspect > that instead of $event_object->init you need to call $this->init. Does > that do the trick? > > Wait - I looked above. $event_object = new event(). What is the class > definition for "event"? > > Could you send more code? > > Michael Kimsal > http://www.phphelpdesk.com > 734-480-9961 Attached you will find the class definition. Thanks in advance.. Joshua E Minnie CIO josh@acsurf.net

« previous php.general (#87318) next »