$iloveshapes = $_POST['shape'];
echo $iloveshapes;
if($iloveshapes=="circle")
{
//formula for area of square
echo (($_POST['length']*$_POST['length'])*3.1416);
}
else
{
//we need the radius of the circle
echo "Does this work?";
echo $_POST['length']* $_POST['length'];
//pi*r to the second power
Subscribe to:
Post Comments (Atom)
5 comments:
i finished
http://free.hostultra.com/~thegrymreaper/pregeometry.html
www.davidcfreer.com/~Kalpesh/new.html
i did it
http://free.hostultra.com/~luis28/CandS.html
web page
http://pantzercom.orgfree.com/homegeo.html
Jorge Bartra
Post a Comment