storing list item code in database
<p>i have the following structure:<br/></p>

<pre><code>&lt;ul&gt;
&lt;li code=12&gt;C++&lt;/li&gt;
&lt;li code=5&gt;Java&lt;/li&gt;
&lt;li code=17&gt;PHP&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>when the user click on  save button the form will be submit to PHP function.<br/>
i want  to pass 12,5,17(list item codes) as array to PHP function(with $_POST array) to store it in the database.<br>
what is the best way to do this?</p>
