[wplug] PHP question

Chris vze2f6h6 at verizon.net
Thu Jan 24 18:18:32 EST 2002


I have a question about accessing information from a form.  Say I have a
form like this:

<form action="foo.php" method="post">
    Name: <input type="text" name="username"><br>
    <input type="submit">
</form>

and in foo.php I have functions that need access to "username".  Say like
this

if ($username != "")
	do something;

Does it automatically send it so that I can use it like that or do I have to
create a variable in foo.php to hold the value.

Chris




More information about the wplug mailing list