php isnt inserting into database : im having an issue with my php script im trying to run. The user is supposed to fill out the application with the desired information, and once submited, goes directly into the database, and displayed on an external, application manager i made. Well.. in submitting the applications, nothing gets added into the database. Ive made sure my sqli query is the correct structure as the schema of my database, and still nothing. running the query into the database itself using PHPMyAdmin, and it works just fine..
Here is my full php which adds the info from the <form> into the database.

    <?php
				$q1 = "SELECT username FROM tmod WHERE username = '".$_SESSION['user']['username']."'";
					$sql = mysqli_query($mysqli, $q1);
					if(isset($_POST['submit']))
					{
						if (empty($_POST['real']) || empty($_POST['age']) || empty($_POST['why']) || empty($_POST['dif']) || empty($_POST['agree']))
						{
							echo '<div class="animated shake">
									<div class="message error">Please fill in all fields.</div>
								</div>'; 
						}
						else
						{
						if(mysqli_num_rows($sql) < 1){
							$q2 = "INSERT INTO `tmod` (AppID, username,`realname`,age,position,why,different,additional,agree) VALUES (NULL, '".$_SESSION['user']['username']."', '".filter($_POST["real"])."', '".filter($_POST["position"])."',  '".filter($_POST["age"])."', '".filter($_POST["why"])."', '".filter($_POST["dif"])."', '".filter($_POST["additional"])."', '".filter($_POST["agree"])."')";
							mysqli_query($mysqli, $q2);
							echo '<div class="animated shake">
									<div class="message success"><b>Thank you!</b> Your application has been submitted and is awaiting to be reviewed by staff!</div>
								</div>'; 
						}else{
							echo '<div class="animated shake">
									<div class="message error">You have already applied, please wait for a reply.</div>
								</div>';
							} 
						}	
					}
				?>
						
				<div class="box">
					<div class="contentHeader headerGreen">
						<div class="inside">
							Staff Application
						</div>
					</div>
					<div class="inside">
						<form method="post">
							<div class="form-section">
								<strong>Username:</strong><br />
								<input disabled="disabled" type="text" value="{username}">
							</div>
							
							<div class="form-section">
								<strong>Real Name:</strong><br />
								<input type="text" name="real" maxlength="28">
							</div>
							<div class="form-section">
								<strong>Position:</strong><br />
								<input type="text" name="position" maxlength="28">
							</div>
							
							<div class="form-section">
								<strong>Age:</strong><br />				
								<select name="age">
									<?php for ($i = 13; $i <= 60; $i++) : ?>
										<option value="<?php echo $i; ?>"><?php echo $i; ?></option>
									<?php endfor; ?>
								</select>
							</div>
							
							<div class="form-section">
									
								<textarea name="why" rows="4" cols="29" placeholder="Why Should We Hire You?"></textarea>
							</div>
							
							<div class="form-section">
								
								<textarea name="dif" rows="4" cols="40"placeholder="How are you different from the rest?"></textarea>
							</div>
							
							<div class="form-section">
								<strong>
								<textarea name="additional" rows="4" cols="40" placeholder="Additional Information - Leave your Skype here" ></textarea>
							</div>
							
							<div class="form-section" style="float:bottom">
								<input type="checkbox" value="1" name="agree" >
								<label>I agree to be active on the Habbsane Hotel.</label>
							</div>
							
							<div class="form-section">
								<input type="submit" class="submit" name="submit" value="Apply">
							</div>
						</form>
					</div>
				</div>


Here is the setup of my tmod table in the database

  `AppID` int(11) NOT NULL,
  `different` varchar(6000) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `realname` varchar(255) DEFAULT NULL,
  `age` int(11) DEFAULT NULL,
  `why` varchar(6000) DEFAULT NULL,
  `additional` varchar(6000) DEFAULT NULL,
  `agree` varchar(1) DEFAULT NULL,
  `denied` varchar(255) DEFAULT 'Not Read Yet',
  `reply` varchar(1000) DEFAULT NULL,
  `save` varchar(255) DEFAULT NULL