is there a code that will add the two values,just like membership fee plus activity payment and i want to appear the total in the total payment.thank u

<?php

$membership_fee = 5;
$activity_payment = 5;
$total = $membership_fee+$activity_payment;

echo "Total: ", $total;
?>

Without better details, this covers what you asked.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.