title: Parse error: syntax error, unexpected T_VARIABLE in bindValue
body: <pre><code>if (isset($_SESSION['logged_in'])) {
  if (isset($_POST['title'], $_POST['content'])) {
      $title = $_POST['title'];
      $content = $_POST['content'];
  
      if (empty($title) or empty($content)) {
          $error = 'All fields are required!';
      } else {
          $query = $pdo-&gt;prepare("INSERT INTO articles (atricle_title, atricle_text, atricle_timestamp) VALUES (?, ?, ?)")
  
          $query-&gt;bindValue(1, $title); //error is here
          $query-&gt;bindValue(2, $content);
          $query-&gt;bindValue(3, time());
  
          $query-&gt;execute();
  
          header(Location: index.php);
  }
  </code></pre>
  
  <p>Someone knows what's the problem here?.
  The code itself is more then that, but this is to only relevent part.</p>
  
  <p>Thanks.</p>