in zowel php 4.2.1 (server) als 4.2.2 (mn localhostje) krijg ik bij deze code:
deze error:
btw: het bewijs staat op [url="http://www.iain.nl/imageless/index.php"]http://www.iain.nl/imageless/index.php[/url]
edit: typo's
PHP:
1
| <?echo array_seach($page, $sub_menu);?> |
deze error:
en toch staat het volgende in de php-manual:Fatal error: Call to undefined function: array_seach() in /home/sites/site3/web/imageless/index.php on line 67
en een stukje verderop:array_search
(PHP 4 >= 4.0.5)
array_search -- Searches the array for a given value and returns the corresponding key if successful
die laatste note is niet echt van belang, maar goed: dan nu de hamvraag: waarom? en wat kan ik er aan doen?Note: Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE
btw: het bewijs staat op [url="http://www.iain.nl/imageless/index.php"]http://www.iain.nl/imageless/index.php[/url]
edit: typo's
I used to be an atheist, until I realised I was god.