title: Change a line of PHP via a text box
body: <p>I've got <a href="https://github.com/kartsims/easysvg" rel="nofollow">this</a> functioning but as I understand it I need to edit the index.php file each time I would like to generate an SVG for a certain text. I'm not familiar with PHP, so sorry beforehand, but is there a way to create a text box so that whatever is typed into it then takes the spot of that particular line of code in the index.php file after hitting 'submit'? For example, after typing 'Hello there' into said text box line 23 of index.php would change to:</p>
  
  <pre><code>$svg-&gt;addText("Hello there");
  </code></pre>
  
  <p>Any help is appreciated.</p>