How would you tackle this php/mysql
<p>I am building a dynamic (food) menu system for a website. Users will be able to add and remove menu items as they like and alter price etc. If the menus were static then I would have a static form for example </p>

<pre><code>&lt;form id="order_form" action="order.php" method="POST" class="form"&gt;
&lt;ul&gt;
&lt;li&gt;cheese burger&lt;input type="text" name="cheese_burger_items" /&gt;&lt;/li&gt;
&lt;li&gt;bacon burger&lt;input type="text" name="bacon_burger_items" /&gt;&lt;/li&gt;
&lt;li&gt;steak burger&lt;input type="text" name="steak_burger_items" /&gt;&lt;/li&gt;
&lt;li&gt;fish burger&lt;input type="text" name="fish_burger_items" /&gt;&lt;/li&gt;
&lt;li&gt;lamb burger&lt;input type="text" name="lamb_burger_items" /&gt;&lt;/li&gt;
&lt;input type="submit" value="Submit" /&gt;
&lt;/form&gt;
</code></pre>

<p>Then the order.php would start out like</p>

<pre><code>&lt;?php
$cheese_burger_items = $_POST['cheese_burger_items'];
$bacon_burger_items = $_POST['bacon_burger_items'];
$steak_burger_items = $_POST['steak_burger_items'];
$fish_burger_items = $_POST['fish_burger_items'];
$lamb_burger_items = $_POST['lamb_burger_items'];
?&gt;
</code></pre>

<p>This is obviously a grossly simplistic view of it.</p>

<p>The amount of items would vary also. What would be the dynamic approach to doing this? I guess for the input 'name' I could use the index name in the database but that doesn't really help me in order.php as I will need to have a POST for each uniqe item. </p>
