delete a particular row from session array
<p>I am a beginner in php. 
I want to know how a particular row in a php session array can be deleted(not from the database, but from the page only). 
I have a table namely, issues having columns issue_id &amp; issue_descrp.
The page is displayed with a table in which each row contains issue and its corresponding id. Each row contain a delete button too. What I want is to delete the corresponding row from the page when I click the button.
This is my php code:</p>

<pre><code>    &lt;?php

    foreach($_SESSION['meeting_issues'] as $meeting_issues)
        {
            $query="select issue_id,issue from issues where issue_id='$meeting_issues'";
            $result=$_SESSION['connection']-&gt;query($query) or die (mysql_error());
            while($row = $result-&gt;fetch_assoc())
            {?&gt;
                &lt;?php $issue_id=$row['issue_id']; ?&gt;
                &lt;tr&gt;&lt;td&gt;&lt;?php echo $row['issue_id']; ?&gt;&lt;/td&gt;&lt;td&gt;&lt;?php echo $row['issue']; ?&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="button" name="&lt;?php echo $row['issue_id']; ?&gt;" id="button" value="Remove"/&gt;&lt;/td&gt;
                &lt;/tr&gt;
                &lt;?php
            }       
        }
        ?&gt;
</code></pre>

<p></p>

<p>Hope my question is clear. Please help me. Thanks in advance.</p>
