Area of a Rectangle
When you are first learning to use PHP, before you start writing any fancy scripts, the best thing to do is to write lots of simple ones. This tutorial shows you how to make a script that calculates the area of a rectangle from user imputed length and width. From this we learn how to collect user data, preform basic math, and output the user's response.


No comments yet. Leave a Comment