The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
PHP is case sensitive. You'll need to use something like this: $_GET["weight"]. Note the quotes - the code might work without them if you're running a very old or mis-configured version of PHP, but always be sure to use them.
I see a couple things that look odd. I don't think "number" is a valid option for the type attribute for one, but that is probably just being ignored and a text box is showing up as the default.
Another things I see is $_get(weight). $_GET is an array, so you should use [] instead. Also, you give it strings for your inputs.
Posts
Also, its been a while.... are HTML forms referenced by ID? or name?
I think I remember it being element by ID......
Another things I see is $_get(weight). $_GET is an array, so you should use [] instead. Also, you give it strings for your inputs.
Try $BMI = $_GET / ($_GET * $_GET);
By name.
And for that second question I am taking it that there is no such thing as a debugger for PHP?
You lost me there but I am assuming you are suggesting changing the type from "number" (it now reads "int") to "string"?
Oh, sorry. I meant you use strings for the $_GET array's keys. So I would type $_GET. I should have been more clear.
The inputs tags should have type="text".