I'm trying to implement the old()
on a bunch of checkboxes generated by 2 foreach (one with key $day_key
and one with $period_key
)
<input type="checkbox"
name="availability[][]"
/>
I need to print this string inside the old() function:
'availability["'.$day_key.'"]["'.$period_key.'"]'
but it doesn't work. How can I do it?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2CFsjLm
via IFTTT
Aucun commentaire:
Enregistrer un commentaire