From: "Martin Towell" <[EMAIL PROTECTED]> > I'm getting the following error: > > PHP Fatal error: Cannot redeclare () (previously declared in > /path/to/file/functions.inc:19) in /path/to/file/functions.inc on line 0 > > Anyone have any ideas how a no-name function could be generated? > Line 19 contains: > function idb_exec_deadlock($sql,$count=0)
Make sure you're not including/requiring functions.inc more than once. This is usually what causes these kind of errors. Also, I hope you are denying access to .inc files on your server, otherwise your PHP code will be served up as plain text. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php