phrozenflame Posted December 29, 2006 Share Posted December 29, 2006 How can I create a function within a function. For instanceI want to set my own user function, but I had a program within that, and I used like 6 preset functions, and wanted it all to run together when I call my user function, how do I do that, I searched around and found out about user functions, but not functions of functions or functions inside of user functions Link to comment https://forums.phpfreaks.com/topic/32232-solved-fuctions/ Share on other sites More sharing options...
emehrkay Posted December 29, 2006 Share Posted December 29, 2006 to do that youd want to create a classclass yourClass{public function functionName(){}}there is a tutorial on oo php programming on the main site Link to comment https://forums.phpfreaks.com/topic/32232-solved-fuctions/#findComment-149574 Share on other sites More sharing options...
phrozenflame Posted December 29, 2006 Author Share Posted December 29, 2006 Ok thanks Link to comment https://forums.phpfreaks.com/topic/32232-solved-fuctions/#findComment-149575 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.