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],$temp[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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to