The value entered by the user is automatically a variable on the page the form is submitted to. You simply access it using the name of the field (i.e. $fieldName).
Now if you want the variable $all to be true every time the search form is submitted then simply code it into the form action url, <form action="nextPage.php?all=1">, or list it as a hidden variable <input type="hidden" name="all" value="1">.
Trevor DeVore
Blue Mango Multimedia
www.mangomultimedia.com