Write a program in PHP that calculates the cube of a digitized number and shows the data entered and the result.