gviper420 Posted January 26, 2007 Share Posted January 26, 2007 I don't understand but on all my pages for a ladder system i've converted to, on all my pages it will not read the errors...Fatal error: Call to undefined function: error() in /home/socomz5/public_html/combatzone/search.php on line 163[code]<td width='' valign='center' align='center'><b>$website</b></td></tr>";if(!$results){error("No results found");}$out[body].="[/code]I've gone back to old scripts where it worked before however it is matching fine, and thats where the problems start/stop for my pages, on all the .php for the ladder its like this for some reason. If anyones will to help ill link u to the site. Thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/35890-problem-with-error-use/ Share on other sites More sharing options...
papaface Posted January 27, 2007 Share Posted January 27, 2007 error() isnt a php function. Quote Link to comment https://forums.phpfreaks.com/topic/35890-problem-with-error-use/#findComment-170252 Share on other sites More sharing options...
gviper420 Posted January 27, 2007 Author Share Posted January 27, 2007 so why is it causing a fatal error? Quote Link to comment https://forums.phpfreaks.com/topic/35890-problem-with-error-use/#findComment-170375 Share on other sites More sharing options...
papaface Posted January 27, 2007 Share Posted January 27, 2007 because its trying to call a function that doesnt exist.... Quote Link to comment https://forums.phpfreaks.com/topic/35890-problem-with-error-use/#findComment-170446 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.