title: Inserting HTML and PHP into PHP variable
body: <p>I am trying to insert HTML and PHP into a PHP variable, but a syntax error is thrown:</p>
  
  <pre><code>    $nestedData[] = $row["titulo_anuncio"];
      $nestedData[] = $row["texto_anuncio"];
      $nestedData[] = $row["fecha_anuncio"];
      $nestedData[] = &lt;&lt;&lt;EOD
  &lt;div&gt;
  &lt;a id="&lt;?php echo $row['emp_id']; ?&gt;" class="edit-link" href="#" title="Edit"&gt;
              &lt;img src="edit.png" width="20px" /&gt;
              &lt;/a&gt;
  &lt;/div&gt;
  EOD;
  </code></pre>
  
  <p>The error is thrown at the last $nestedData[] variable.</p>