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; } 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
Archived
This topic is now archived and is closed to further replies.