Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INSIDE LOOP:
- <?php $subtotal = $_SESSION['post'][$yourorder->id] * $yourorder->value; ?> $ <?php echo $subtotal; $total = $total + $subtotal; ?>
- OUTSIDE LOOP:
- <?php echo "</br> $ ".$total; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement