title: Registration form - Notice: Undefined index
body: <p>Here is my register form:</p>
  <pre><code>&lt;p&gt;Please fill out all fields&lt;/p&gt;&lt;br&gt;
  
  &lt;form method=&quot;POST&quot; action=&quot;login/login.php&quot;&gt;   
  &lt;!-- name is the VARIABLE --&gt;
  Username: &lt;input type=&quot;text&quot; name=&quot;username&quot;&gt;&lt;/br&gt;
  Password: &lt;input type=&quot;password&quot; name=&quot;password&quot;&gt;&lt;/br&gt;
  Email: &lt;input type=&quot;text&quot; name=&quot;email&quot;&gt;&lt;/br&gt;    
  &lt;/form&gt; 
      
  &lt;/br&gt;
  &lt;/br&gt;
  &lt;form method=&quot;POST&quot; action=&quot;login/process.php&quot; &quot;&gt; &lt;/br&gt;
  &lt;input type='submit' value='submit registration'/&gt;
  &lt;/form&gt;
  </code></pre>
  <p>here is my process.php file:</p>
  <pre><code>&lt;?php 
  print &quot;&lt;center&gt;&quot;;
  $Username = $_POST[&quot;username&quot;]; 
  $Password = $_POST[&quot;password&quot;];
  $Email  = $_POST[&quot;email&quot;];
  ?&gt;
  
  &lt;?php
  include &quot;../shopdb/connection.php&quot;;
  
  $query=&quot;INSERT INTO USERS (ID, Username, Password, Email) VALUES ('','$Username','$Password','$Email')&quot;;
  
  mysql_query($query,$connect);
  
  ?&gt;
  </code></pre>
  <p>I keep getting this error:</p>
  <blockquote>
  <p>Notice: Undefined index: username in C:\xampp\htdocs\IIS\login\process.php on line 3</p>
  <p>Notice: Undefined index: password in C:\xampp\htdocs\IIS\login\process.php on line 4</p>
  <p>Notice: Undefined index: email in C:\xampp\htdocs\IIS\login\process.php on line 5</p>
  <p>You are successfully connected to the database.</p>
  </blockquote>
  <p>(the bottom message is a part of the connection script I added to show I'm connected to the DB)..</p>
  <p>Any help would be great.</p>