title: Don't understand why I get: syntax error, unexpected T_STRING
body: <p>I get an syntax error, unexpected T_STRING in this function on the 2nd line:</p>
  
  <pre><code>function format_date($unixtime) {
  return date(“F”, $unixtime).” “.date(“d”, $unixtime).”, “.date(“Y”, $unixtime);
  }
  </code></pre>
  
  <p>I'm following this tutorial <a href="http://tatiyants.com/how-to-use-wordpress-custom-post-types-to-add-events-to-your-site/" rel="nofollow">http://tatiyants.com/how-to-use-wordpress-custom-post-types-to-add-events-to-your-site/</a></p>
  
  <p>I've followed this to the letter and did nothing more than copy and paste so far.</p>
  
  <p>In the comments you can read that the function above is missing and the author says to include it anyware in the php file. This seems to solve it for everybody except one other person and me.</p>
  
  <p>So maybe the problem is related with the version of PHP or MySQL? Although Netbeans also says there is a syntax error in the code above.</p>