Save checkbox values to database with php
Hi i got a small question i have a checkbox list and i want to save the values of that list to a product tabel in my database (sjaak_db). But i just dont now how to do it with php.



        <ul id="selectable">
				
					<input type="checkbox" id="checkbox-G1" value="Knoflook" name="knoflook"><label for="checkbox-G1">Knoflook</label>
					<input type="checkbox" id="checkbox-G2" value="Tabasco" name="tabasco"><label for="checkbox-G2">Tabasco</label>
					<input type="checkbox" id="checkbox-G3" value="Oregano" name="oregano"><label for="checkbox-G3">Oregano</label>
				
		</ul>

       <input type='submit' name='submit' value='Save' /><label>Save</label>



so what i am trying to do is save the values of the list in a database as soon as i press the save button

Save checkbox values to database with php
===

Hi i got a small question i have a checkbox list and i want to save the values of that list to a product tabel in my database (sjaak_db). But i just dont now how to do it with php.



        <ul id="selectable">
				
					<input type="checkbox" id="checkbox-G1" value="Knoflook" name="knoflook"><label for="checkbox-G1">Knoflook</label>
					<input type="checkbox" id="checkbox-G2" value="Tabasco" name="tabasco"><label for="checkbox-G2">Tabasco</label>
					<input type="checkbox" id="checkbox-G3" value="Oregano" name="oregano"><label for="checkbox-G3">Oregano</label>
				
		</ul>

       <input type='submit' name='submit' value='Save' /><label>Save</label>



so what i am trying to do is save the values of the list in a database as soon as i press the save button
