title: Can't Get Multiple Different Queries To Run
body: <p>I have this code running on my website</p>
  
  <pre><code>if($_GET['approve']) {
              $tmppass = randomPassword();
              $dbpass = md5('nosaltforyou'.md5($tmppass).'nosaltforyou');
              $conn = mysqli_connect("localhost", "php", "password", "icegc");
              $row = mysqli_query($conn, "SELECT * FROM `applications` WHERE `id` = ".$_GET['approve']);
              mysqli_query($conn, "INSERT INTO `users` VALUES (null, '".$row['nickname']."','$dbpass','".$row['steamlink']."','".$row['tmplink']."','".$row['icevtc']."','".$row['csgo']."','member'");
              mysqli_query($conn, "DELETE FROM `applications` WHERE `id` = ".$_GET['approve']);
              echo '&lt;div class="alert alert-danger alert-dismissable"&gt;
                      &lt;button type="button" class="close" data-dismiss="alert"&gt;&amp;times;&lt;/button&gt;
                      &lt;strong&gt;Warning!&lt;/strong&gt; Send This Password: '.$tmppass.' To &lt;a href="'.$row['steamlink'].'" class="alert-link"&gt;This Steam Profile&lt;/a&gt;
                    &lt;/div&gt;';
              mysqli_close($conn);
          }
  </code></pre>
  
  <p>and what is supposed to do is approve an application to join the site by adding it to my users table and deleting it from my applications table. I am not getting anything changed in the database and there is not output to the webpage. Any and all help is appreciated. Thanks in advance. </p>