unemployment Posted October 18, 2011 Share Posted October 18, 2011 I think I need to use $this, but I need to be able to add the two values returned from both of my functions. How would I do that? public function get_users_edge($uid) { $users_primary->get_users_primary_edge($uid); $users_dynamic->get_users_dynamic_edge($uid); echo $users_primary + $users_dynamic; } Quote Link to comment https://forums.phpfreaks.com/topic/249323-add-variables-from-functions-using-a-class/ 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.