samedi 4 avril 2015

Array values of checkbox

I just want to value my check_list[], so it will contain array $file.


If user clicks checkbox, it will contain all the data in 1 file..


I tried to concatenate but then grouping them was a problem.


I tried hidden values, but got only 1 file values.



@foreach($files as $file)
<tr>
<td><input type="checkbox" name="check_list[]" ></td>
<td>{{ $file['file_name'] }}</td>
<td>{{ $file['file_type'] }}</td>
<td>{{ $file['file_modified'] }}</td>
<td>{{ $file['file_size'] }}</td>
<td>{{ $file['location'] }}</td>
</tr>
@endforeach


Pls. help Im stuck on this problem..





Aucun commentaire:

Enregistrer un commentaire