Okay, I’m kinda bad at PHP, so don’t laugh at me…too hard…
Anyway, I’m trying to make this thing that calculates circumference from a form in which you can enter the diameter of a circle and have the site output the result. I have no idea what I should do from here…
[code]
So…what am I doing wrong?
EDIT: Might help if I close the form! Tee hee. New code:
[code]
<?php $circumference = $_REQUEST['diameter'] * 3.14 echo 'Circumference is '$circumference ?>[/code]