title: place PHP echo text in specific place in html
body: <p>I'm using html and PHP to read text from file and echo it in the page - it's sort of a list.
  the issue is that I don't want to put it at the top of the page, as PHP echo by default, but to put it in specific place - after on div and before another.</p>
  
  <p>the php snippet:</p>
  
  <pre><code>$lines = file('http://localhost/repositories.txt');
  foreach ($lines as $line_num =&gt; $line) {
  echo  "&lt;a onclick='javascript:(document.folderForm.folderLocation.value=".htmlspecialchars(json_encode($line)) .");' href='#'&gt;".htmlspecialchars($line) . "&lt;/a&gt;&lt;br /&gt;";
  </code></pre>
  
  <p>thanks.</p>