MasterACE14 Posted July 16, 2007 Share Posted July 16, 2007 is their a simple way to include a function in a class? Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/60196-include-a-function-in-a-class/ Share on other sites More sharing options...
MadTechie Posted July 16, 2007 Share Posted July 16, 2007 it is simple!! class testClass { funtion TestFunction() { echo "hello"; } } OR Use Extend Old POST Quote Link to comment https://forums.phpfreaks.com/topic/60196-include-a-function-in-a-class/#findComment-299490 Share on other sites More sharing options...
MasterACE14 Posted July 17, 2007 Author Share Posted July 17, 2007 ok, i'm still at loss, I understand how to do it, but still cant get my function into my class, heres my original post where I have had no response, as I saw in your old post you had trouble getting some help . http://www.phpfreaks.com/forums/index.php/topic,149302.msg642680.html#msg642680 could you please post their if you can help? thanks. Regards ACE Quote Link to comment https://forums.phpfreaks.com/topic/60196-include-a-function-in-a-class/#findComment-300241 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.