Save dynamic div into SESSION
<p>Hello guys i have the following PHP script:</p>

<pre><code>if(isset($_POST['add_slider']))
    {
        echo '&lt;div class="sliderz"&gt;';
        $images = mysql_query("SELECT * FROM store");               
        while($row = mysql_fetch_assoc($images)) 
            {
                echo '&lt;ul class="connectedSortable"&gt;';
                echo '&lt;li&gt;';
                echo "&lt;img class='ui-state-default' src=".$row['image']."&gt;";
                echo '&lt;/li&gt;';
                echo '&lt;/ul&gt;';
            }
        echo '&lt;/div&gt;';
    }
</code></pre>

<p>and the html looks like this:</p>

<pre><code>&lt;form action="admin.php" method="POST"&gt;
                    &lt;input type="submit" value="Add new slider!" name='add_slider'&gt;
                &lt;/form&gt;
</code></pre>

<p>How can i acciev the same thing but save it into $_SESSION :-?</p>
