title: how do i insert math quadratic equation/formula in database?
body: <p>I want to create online math quiz and all questions and answers and correct answer are store in the mysql database. I have quadratic equation like. </p>
  
  <p><img src="https://i.stack.imgur.com/hhu8c.jpg" alt="enter image description here"></p>
  
  <p>now how do i insert exactly same question formula or equation  with their answer in the database table column and database column type is <code>blob</code>.</p>
  
  <p><strong>Database Column After Inserted Formula or Equations</strong></p>
  
  <p><img src="https://i.stack.imgur.com/pfXWV.jpg" alt="enter image description here"></p>
  
  <p><strong>Inseet Query</strong></p>
  
  <pre><code>if(isset($_REQUEST['submit']))
  {
  $class1=$_POST['class1'];   
  $subjects1=$_POST['subjects1'];
  $lessons=$_POST['lessons'];
  $marks=$_POST['marks'];
  
  $length = count($_POST['ques']);
  for($i=0; $i&lt;$length; $i++)
  {
  $query=mysql_query("INSERT INTO quiz 
  VALUES ('','$class1','$subjects1','$lessons',
  '".$_POST['ques'][$i]."','".$_POST['ans1'][$i]."',
  '".$_POST['ans2'][$i]."','".$_POST['ans3'][$i]."','".$_POST['ans4'][$i]."',
  '".$_POST['corans'][$i]."','$marks')") or die ("quiz insert query");    
  
   }
   }
  </code></pre>
  
  <p><strong>can i use MathJax is an open source JavaScript for quiz and it will work for php and mysql databasee query?</strong></p>