Here is the code:
function fillForm() {
print "<FORM ACTION=\"join.php&goto=result\" METHOD=POST>";
print "Name<BR>";
print "<INPUT TYPE=TEXT NAME=\"name\" SIZE=20><BR>";
.
.
.
.
.
print "<INPUT TYPE=SUBMIT NAME=\"SUBMIT\" VALUE=\"Join!\">";
print "</FORM>";
}
Between the name textbox and submit button is all <INPUT TYPE=TEXT NAME=\"THE APPROPRIATE FIELD\" SIZE=20><BR>"; NO CODE!!!!
I do not see anything wrong with this code.
BTW
I have PHPNuke installed on my server right now, and sometimes when the users sign up they get two emails, as well as when they submit news I get two copies! I just noticed it. PHPNuke is obviously well tested. Do you think that there is something wrong with the server/php/mysql configuration?
Also,
in something.php I have:
<?
include("header.php");
$variable;
include("footer.php");
?>
AND in header.php I have:
<?
print "$variable";
?>
When I modify $variable in something.php is there anyway I can modify it in header.php?