title: Is my PDO ECHO and RETURN statements correct?
body: <p>I was wondering why I am receiving syntax errors on lines 9 and 16 from my <code>PHP</code>/<code>PDO</code> coding.
  My code is as follows:</p>
  
  <pre><code>&lt;?php
  // Sandbox Functions
  // PDO example
  function get_page($dbc, $pg) {
      $sql = "SELECT * FROM pages WHERE page = '$pg' AND status = 1 LIMIT 1";
      $stmt = $dbc-&gt;prepare($sql);
      $stmt-&gt;execute();
      $row = $stmt-&gt;fetch()
              echo '&lt;h1&gt;'.$page['title'].'&lt;/h1&gt;';
          echo '&lt;div class="content"&gt;'.$page['body'].'&lt;/div&gt;';}
  function get_title($dbc, $pg) {
      $sql = "SELECT title FROM pages WHERE page = '$pg' AND status = 1 LIMIT 1";
      $stmt = $dbc-&gt;prepare($sql);
      $stmt-&gt;execute();
      $row = $stmt-&gt;fetch()
      return $page['title'];}
  ?&gt;
  </code></pre>