title: syntax error, unexpected T_VARIABLE
body: <p>I can't seem to find where my code has went wrong. Here is my full error: </p>
  
  <blockquote>
    <p>Parse error: syntax error, unexpected T_VARIABLE in C:\xampp\htdocs\GigaLoad.com\register.php on line 102 </p>
  </blockquote>
  
  <p>But I've been looking a that line for hours. I will give you the entire code cause my newbie brain cant find the error:</p>
  
  <pre><code>$query = mysql_query("SELECT * FROM users WHERE username='$username'")
  </code></pre>
  
  <p>Hope you can help if you need more info just let me know.</p>
  
  <p>Here Is The Extra Code </p>
  
  <pre><code> if (strstr($email, "@") &amp;&amp; strstr($email, ".") &amp;&amp; (strlen($email) &gt;=6)){
     require ("scripts/connect.php")
     $query = mysql_query("SELECT * FROM users WHERE username='$username'") // &lt;-- Error here
     $numrows = mysql_num_rows ($query)
     if ($numrows == 0){
          /* ... */
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>I am still getting major erros i will give the code and can you tell what i am missing</p>