Page 1 of 1

Functions...

Posted: Mon May 19, 2003 10:29 am
by mikusan
I have looked in my book and some online resources but i cannot pinpoint the problem, can you not call a function within a function, i do not mean recursion i mean inside a function can i call another function. Even better can you call a function withing a function that has been included previously?

Posted: Mon May 19, 2003 10:47 am
by McGruff
Bigger fleas have little fleas
Upon their backs to bite 'em
Little fleas have lesser fleas
And so ad infinitum.

Posted: Mon May 19, 2003 11:14 am
by mikusan
NICE :)

Posted: Tue May 20, 2003 7:24 am
by mikusan
Anyone could add to that :)
no really can you or can you not? Why if not?

Posted: Tue May 20, 2003 8:21 am
by twigletmac
Have you tried writing a couple of functions to test whether it works or not?

Mac

Posted: Tue May 20, 2003 9:33 am
by mikusan
:lol: yea i did that...but my server is really acting funny lately and i am not the admin of it... i have many problems that often don't relate to everyone else, and though i am assured that php.ini was not touched... but amongst these is my inability to call functions withing functions something if i recall correctly i was able to do in java. I can't in php and it's somewhat of a problem, i mean i can live with it but it wold make my life easier ;)

Posted: Tue May 20, 2003 10:41 am
by twigletmac
You can call a function within another function - if it's not working it could be a symptom of another problem.

Mac

Posted: Tue May 20, 2003 10:51 am
by mikusan
/Have you ever encountered this sorta problem... unfortunately the sys admins are unreachable and me i have no rights to even see the files in questions... do you think it couls be a setting in php.ini or is it the apache module that is not working well with php?

Posted: Tue May 20, 2003 3:04 pm
by Coco
have you tried phpinfo()? this pretty much spits out the contents of php.ini