1. Home
  2. Computing & Technology
  3. PHP / MySQL
Angela Bradley
Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

Area of a Rectangle

Wednesday October 7, 2009

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.  

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2009 About.com, a part of The New York Times Company.

All rights reserved.