title: PHP Parse error: syntax error, unexpected T_VARIABLE
body: <p>Trying to get this code to work, but I keep running into errors.  I am fairly new to PHP and doing a project for personal learning.  Thank you in advance for any help!</p>
  
  <p>If I cut the following code out it will run fine.  The code with the ** is the code that is throwing the error.</p>
  
  <p>[15-Jul-2012 03:10:01 UTC] PHP Parse error:  syntax error, unexpected T_VARIABLE in x.php on line 22</p>
  
  <pre><code>var $salt = 'fortesting';
  var $userpw = 'testing';
  **var $saltpw = $salt . $userpw;**
  var $tpw = hash('sha512', $saltpw, false);
  </code></pre>