title: how to get table row content using php onclick of row
body: <p>I want to get content of particular row after clicking on particular row and store it in session and send to another php file for further processing.</p>
  
  <pre><code>foreach ($employee as $key =&gt; $value) { 
  echo "
  &lt;tr&gt;
     &lt;td &gt;".$value-&gt;id."&lt;/td&gt;
     &lt;td &gt;".$value-&gt;name."&lt;/td&gt;
  &lt;/tr&gt;
  ";
  }
  </code></pre>