![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
This script appears to work quite well. It prints out every mammal order, family, genus and species - and surprisingly rapidly. But the display alternates data with the error message "Warning: Invalid argument supplied for foreach() in C:\sites\freedomware\axis.php on line 127." |
#2
| |||
| |||
|
|
display_errors must be turned off in my head. ---------------------------------------------------^^^^ |
|
David B <david_blomstromDELETETHIS (AT) yahoo (DOT) com> wrote in news:cdsocl$676$1 (AT) forums (DOT) macromedia.com: This script appears to work quite well. It prints out every mammal order, family, genus and species - and surprisingly rapidly. But the display alternates data with the error message "Warning: Invalid argument supplied for foreach() in C:\sites\freedomware\axis.php on line 127." display_errors must be turned off in my head. You want if (isset($nodes[$parent])) { ... } around the foreach. |
#3
| |||
| |||
|
|
David B <david_blomstromDELETETHIS (AT) yahoo (DOT) com> wrote in news:cdsocl$676$1 (AT) forums (DOT) macromedia.com: This script appears to work quite well. It prints out every mammal order, family, genus and species - and surprisingly rapidly. But the display alternates data with the error message "Warning: Invalid argument supplied for foreach() in C:\sites\freedomware\axis.php on line 127." display_errors must be turned off in my head. You want if (isset($nodes[$parent])) { ... } around the foreach. |
![]() |
| Thread Tools | |
| Display Modes | |
| |