Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $total_add_more = 0;
- foreach($add_more_line as $each_key => $each_val ) {
- if($add_more_year_button[$each_key] == 'month'){
- $total_add_more += $each_val;
- }else {
- $total_add_more += $each_val * 12;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement