title: How to get td value on post php?
body: <pre><code>&lt;form action="" method="post" name="theform"&gt;
      &lt;table width="693" border="1" style="table-layout:fixed;" &gt;
      &lt;tr&gt;
      &lt;td width="683" id="mymessage" contenteditable="true" name="mymessage"&gt;Write message here...&lt;/td&gt;
      &lt;/tr&gt;
      &lt;/table&gt;
      &lt;span class="notranslate"&gt;&lt;input type="submit" id="btnSend" name="btnSend" value="Send"&gt;&lt;/span&gt;
      &lt;/form&gt;
      &lt;?php
      if (isset($_POST['btnSend']))
      {
          $getmsg = $_POST['mymessage'];//i can't seem to get the value of td here
          echo $getmsg;//i want to echo the message for example.
      }
      ?&gt;
  </code></pre>
  
  <p>Currently, I want to echo my td value after clicking the button but it is not appearing. please help me. tq. </p>