Stut wrote: > afan pasalic wrote: >> why then the code doesn't work? >> the error I'm getting is: "Fatal error: Call to undefined function >> solution1() in ..." even the function itself is just above the line that >> calls function? > > I can only guess that you're not showing us the code you're actually > running. See the example I put in another reply - that works and is > based on the code you sent. > > -Stut > true. it's not "original" code than simplified one. let me try with one more time with your solution. -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php