I'm using this form from formvalidation.io:
<form id="bookForm" method="post" class="form-horizontal">
<div class="form-group">
<label class="col-xs-1 control-label">Book</label>
<div class="col-xs-4">
<input type="text" class="form-control" name="book[0].title" placeholder="Title" />
</div>
<div class="col-xs-4">
<input type="text" class="form-control" name="book[0].isbn" placeholder="ISBN" />
</div>
<div class="col-xs-2">
<input type="text" class="form-control" name="book[0].price" placeholder="Price" />
</div>
<div class="col-xs-1">
<button type="button" class="btn btn-default addButton"><i class="fa fa-plus"></i></button>
</div>
</div>
The input field names are very special, e.g. name="book[0].title".
How to pass all these input field array values to my php script?
I guess the "." is not php compliant. Changing the names in a way like name="book[0][title] leads to error messages like Warning: Illegal string offset 'title' in www/... with print_r($_POST['book'][0]['title']);.
I appreciate any help!