title: Printing data from MySql in HTML using Python
body: <p>I am trying to print a list of items from a MySQL database onto an HTML page.  My database can be added to and changed over time away from this page, so the list must change as the database changes. The trickiest part is that each of the items on the list links to a informational page (the link to the informational page would also be stored in the database).  I have run all my other code in python and it runs the HTML page by doing the following:</p>
  
  <pre><code>    def render_POST( self, request):
          file=open('NewOptionsPage.html','r')
          filedata=file.read()
          return filedata
  </code></pre>
  
  <p>-where <em>NewOptionsPage</em> is my html code. </p>
  
  <p><strong>So my question is:</strong> </p>
  
  <p>What do I put into my HTML code to print from my database that would also allow me to also give it a link from the database? If this isn't possible in python, how could I do it in php or another language?</p>