I was wondering if it's possible to receive arrays in $_POST but with a single input field in the html and without sending the form with ajax?
Normally I would do this
<input type="hidden" name="array[]" />
<input type="hidden" name="array[]" />
<input type="hidden" name="array[]" />
.............
I was thinking of something like this
<input type="array" name="array" value="1,2,3,4" / >
Aucun commentaire:
Enregistrer un commentaire