Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. $total_add_more = 0;
  2.  
  3. foreach($add_more_line as $each_key => $each_val ) {
  4.  
  5. if($add_more_year_button[$each_key] == 'month'){
  6.  
  7. $total_add_more += $each_val;
  8. }else {
  9. $total_add_more += $each_val * 12;
  10. }
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement