PHP - send two fields through mail
<p>I have a document with 2 textboxes and 1 submit button. I want to send an email when I press the submit button and in it should be the value of the textboxes. My PHP knowledge is a bit dusty. I don't want to bother the user with the emailproces, so he can't see this and should just be redirected.</p>

<pre><code>&lt;html&gt;
&lt;body&gt;

&lt;div class="section_form" id="usernameSection"&gt; 
&lt;label for="username"&gt;Login:&lt;/label&gt; 
&lt;input size="20" type="text" name="username" id="username" /&gt; 
&lt;/div&gt; 

&lt;div class="section_form" id="emailSection"&gt; 
&lt;label for="email"&gt;Email:&lt;/label&gt; 
&lt;input size="20" type="text" id="email" name="email" maxlength="20"/&gt; 
&lt;/div&gt; 

&lt;div id="submit_button"&gt; 
&lt;button type="submit" value="Submit" onmouseover="this.style.backgroundPosition='bottom';" onmouseout="this.style.backgroundPosition='top';" onclick="return SetFocus();"&gt;Submit&lt;/button&gt; 
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Many thanks!</p>
