I would like to get more checkbox content into my database. It means that I have categories of php, java, html and css but I click on php and html, so it must be the two into in the same database that is within the database category.
It looks like this when I lie in the database:
$kategori = $_POST["kategori"];
How it looks when the user must select a category such as php and html to the database:
<input type="checkbox" name="kategori[]" value="<?php echo $tekst;?>"/>
<?php echo $tekst;?>
Right now when I put it into the database writes just "array" and nothing else even though I have selected two categories to the database.
How do I put multiple categories into the database same time?