cleary1981 Posted September 3, 2008 Share Posted September 3, 2008 Hi I have the ollowing query $q3 = mysql_query("SELECT hours FROM object, module WHERE object.module_name = module.module_name AND proj_id=$proj_id") or die(mysql_error()); What I want to do is get the total number of hours ie add up the hours returned for every record. Can anyone advise? Link to comment https://forums.phpfreaks.com/topic/122503-solved-array-addition/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.