Hello,
Is it possible in PHP (as in Java), to call up a function from within another PHP file, statically is possible, and return a boolean?
For example, if PHP PageA calls up a method "test()" in PHP pageB, which returns either true or false.
Is it possible that this external method can also output to the webbrowser besides the code in pageA, so that the event flow is as follows? :
1 - Parse first part of pageA
2 - pageA calls method in pageB
3 - output HTML in pageB
4 - pageB returns true to pageA
5 - parse remainder of pageA
Cheers in advance,
James.