title: The websites not putting the vote on the database
body: <p>So the vote page is at Click <a href="http://oxidepkz.net63.net/vote.html" rel="nofollow">here</a> 
  the Username should go into the text box, and after you vote on both servers, it should send the Username to the database.</p>
  
  <pre><code>    &lt;form name="vote" class="short style" method="post" target="_blank"&gt;
      &lt;input name="username" type="text" size="30" maxlength="30"       placeholder="Username"&gt;&lt;button id="nextbutton" type="button" onClick="next();"&gt;Next&lt;/button&gt;
      &lt;div style="display: none;" id="button" class="button"&gt;&lt;button type="submit" onClick="changeAction('http://www.rune-server.org/toplist.php?do=vote&amp;sid=8289&amp;name=');")&gt;Rune-Server&lt;/button&gt;&lt;button type="submit" onClick="changeAction('http://www.runelocus.com/toplist/index.php?action=vote&amp;id=30838&amp;id2=');")&gt;RuneLocus&lt;/button&gt;&lt;/div&gt;
  &lt;/form&gt;&lt;br&gt;
  </code></pre>
  
  <p>im not sure what to add, i think i need to do something with the next button.. but please help! another thing is its a html... should it be php?
  but the mysql is working fine and is sending to the client.
  its just getting the username to be sent to the database,
  heres check vote</p>
  
  <pre><code>    if (!$con) {
      die("Could not connect to database: " . mysql_error());
  }
  mysql_select_db("a5999082_oxidepk", $con);
  $username = mysql_escape_string($_GET['username']);
  if (isset($_GET['username'])) {
      $result = mysql_query("SELECT * FROM `votes` where username = '$username'") or die(mysql_error());
      $row = mysql_fetch_array($result);
      if($row['username'] == $username) {
          mysql_query("DELETE FROM `votes` where username = '$username'");
          echo "true";
      } else {
          echo "false";
      }
  }
  mysql_close($con);
  </code></pre>
  
  <p>and then heres the Call back</p>
  
  <pre><code>&lt;?php
  $rspscoding = gethostbyname("http://www.oxidepkz.net63.net");
      if($_SERVER['REMOTE_ADDR'] == $rspscoding) {
          $con = mysql_connect("mysql1.000webhost.com", "a5999082_oxidepk", "password");
          if (!$con) {
              die("Could not connect to database: " . mysql_error());
          }
          mysql_select_db("a5999082_oxidepk", $con);
          $username = mysql_escape_string($_GET['username']);
          if (isset($_GET['username'])) {
              mysql_query("INSERT INTO `votes` (username) VALUES ('$username')") or die(mysql_error());  
          }
          mysql_close($con);
  }
  </code></pre>
  
  <p>?>
  also not sure what gethostbyname should be... thanks! </p>