tsilenzio Posted January 17, 2008 Share Posted January 17, 2008 I am using WAMPServer2 and whenever I try to use this function firefox (when pointed towards the page) says page connot be found? :s I was wondering if i coded somthing wrong :s //<?php // -- Enable Text Highlighting -- // function array_search_recursive($needle, $haystack) { foreach ($haystack as $data) { if(!is_array($data)) { if($needle == $data) { echo 2; return true; } } else { return array_search_recursive($needle, $haystack); } } } Quote Link to comment https://forums.phpfreaks.com/topic/86412-recursive-problem/ Share on other sites More sharing options...
tsilenzio Posted January 17, 2008 Author Share Posted January 17, 2008 Didnt mean to leave "echo 2;" that was just to see if it was some kinda output problem =/ Quote Link to comment https://forums.phpfreaks.com/topic/86412-recursive-problem/#findComment-441599 Share on other sites More sharing options...
Nhoj Posted January 17, 2008 Share Posted January 17, 2008 If it says the page cannot be found then it means the page cannot be found.. It's not a coding problem, it's a problem with either your computer / internet or the server / network. Means just what it says... firefox cannot find the page.. Quote Link to comment https://forums.phpfreaks.com/topic/86412-recursive-problem/#findComment-441723 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.