I'm trying to write a basic PHP script to calculate car loans, just as a way of learning the language. I've wrote the part to calculate monthly payments, but does anyone know what the formula is to calculate a down payment, given monthly payments, interest rate, etc? THanks

