Try defining the function before you call it. ---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ > -----Original Message----- > From: Beauford.2002 [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 19, 2002 10:07 PM > To: PHP General > Subject: [PHP] Fw: Fatal error: Call to undefined function: allerrors() > in............ > > > At the beginning of my page I have some code which calls a function I > have > created, at the bottom of the page is the function, but I keep getting the > error Fatal error: Call to undefined function: gotofunction() in ...... no > matter what I do. > > Any info on what's happening is appreciated. > > example: > > if ($a == $b) { > gotofunction($a, $b); > } > > function gotofunction($a, $b) { > > a bunch of code; > > } > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php