title: create form inside php script
body: <p>I have a table and use the following to create a button inside one of the cells:</p>
  
  <pre><code>print("&lt;td&gt; &lt;input type=\"submit\" name=\"toedit\" value=\"Submit\" &gt;
      &lt;form action=\"Manage_Customer_Information_refined_list.php\" method=\"post\"&gt;
          &lt;input type=\"hidden\" value=\"Submit\" name =\"submit_button\" &gt;
      &lt;/form&gt;
  &lt;/td&gt;");
  </code></pre>
  
  <p>When i go to call upon the button (press it) using </p>
  
  <pre><code>if(print_r($_POST["\"submit_button\""]))
  {
      print "button pressed";
  }
  </code></pre>
  
  <p>It says </p>
  
  <blockquote>
    <p>undefined index "submit_button"</p>
  </blockquote>
  
  <p>Please Help :/</p>