";
			echo "There are " . $days . " days to display for the christmas song.";
			echo "

"; echo "The gifts for day " . $days . " are:"; echo "
"; while ($i <= $days) { echo $i . " " . $gifts[$i] . " " . "\$" . number_format( ( $giftPrices[$i] * $i ), 2 ) . "
"; $total += ( $giftPrices[$i] * $i ); $i++; } echo "
"; echo "The total cost for " . $days . " days is: " . "\$" . number_format( $total, 2 ); echo "
"; while ( $j <= 12 ) { $totalday += ( $giftPrices[$j] * $j ); $totaltwelve += $totalday; $j++; } echo "
"; echo "The total cost for 12 days is \$" . number_format( $totaltwelve, 2); ?>