Add two nos. display total in field

Add two numbers in php and display the total in the total field.