You are on page 1of 1

Sir try this code, this will work

<?php echo ((a>b)?(a-b):0) + ((c>d)?(c-d):0) + ((e>f)?(e-f):0); ?>

You might also like