Re: [PHP] Class Function Problem

2002-12-10 Thread Rodney Green
$toolsneeded instead? - Original Message - From: "Sean Mayhew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 3:59 PM Subject: Re: [PHP] Class Function Problem : while(list($name,$url) = each($tools)) : : : >From: "R

[PHP] Class Function Problem

2002-12-10 Thread Rodney Green
What is on line 251? >Warning: Variable passed to each() is not an array or object in >/home/www/website/admin/include/adminclass.php on line 251 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Class Function Problem

2002-12-10 Thread Sean Mayhew
I have an admin panel that each section contains a set of tools so on each page I can set $toolsneeded = "admin" or $toolsneeded = "employees"; etc. I keep recieving this error: Warning: Division by zero in /home/www/website/admin/include/adminclass.php on line 250 Warning: Variable passed to e