<html><body>
<form method=POST action=yourscript.php>
<input type=text name="var[0]">
<input type=text name="var[1]">
<input type=text name="var[2]">
<input type=submit>
</form></body></html>
Then the three values returned from the inputs will appear in PHP as three elements in an array named "var" (in $_POST["var"] always and in as $var if you have register_globals set to "on" in php.ini)
You can use either numbers or strings inside the square boxes so that you can specify the elements individually.
If you leave the square boxes empty (i.e. name all three inputs "var[]"), PHP will assign the values in the order they are passed from the browser. This can be useful for checkboxes -- set the names of a group of checkboxes all the same, but give them different values. Just the values that were checked will appear in the array in your script.
One gotcha. If you name these form elements all the same, it is difficult to reference them via JavaScript. [i]Want the best answers? Ask the best questions:[/i] [URL unfurl="true"]http://www.tuxedo.org/~esr/faqs/smart-questions.html[/URL]
TANSTAAFL!