Hello
I have a problem with forms and decided to test an example from a book. It didn´t work??
<HTML>
<FORM>
Write your name:<BR>
<INPUT TYPE=TEXT NAME=username><BR><BR>
<INPUT TYPE=SUBMIT VALUE="Print">
</FORM>
<BR><BR>
You wrote:
<?php
echo ($username);
?>
</HTML>
Forms
Moderator: General Moderators
I suspect that this is related to one of those stickys up at the top of the thread listing page.
Here is the link.
viewtopic.php?t=511
It doesn't work becuase you are most like applying a deprecate (old) way of doing things to a more up to date version of PHP.
Also, you may wish to brush up on your html. That form tag should have some additional information. Action and Method properties in particular.
In short, I"m not giving you the answer, but instead, the ability to get the answer.
Cheers,
BDKR
Here is the link.
viewtopic.php?t=511
It doesn't work becuase you are most like applying a deprecate (old) way of doing things to a more up to date version of PHP.
Also, you may wish to brush up on your html. That form tag should have some additional information. Action and Method properties in particular.
In short, I"m not giving you the answer, but instead, the ability to get the answer.
Cheers,
BDKR
ts ts ts, no hyperlinks and wasting valuable computing time at php.net
http://www.php.net/manual/en/language.variables.external.php
http://www.php.net/manual/en/language.variables.predefined.php
http://www.php.net/manual/en/language.variables.external.php
http://www.php.net/manual/en/language.variables.predefined.php
the reason I don't do that is because I preffer for people to use a mirror of php.net instead of http://www.php.net. Besides, there is nothing wrong with the short links to the manual pages. I use them quite frequently.