Created
February 20, 2018 08:03
-
-
Save eaponiente/5415c1528daace476014fab88ea37188 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var html = '<input type="text" name="first_name[]" />'; | |
html += '<input type="text" name="last_name[]" />'; | |
$('#div').append(html); | |
// | |
to get logic | |
$data = request()->input('first_name'); | |
foreach($data as $key => $v) { | |
// pwde na nimo kwaon ang last name | |
$lastname = request()->input('last_name')[$key] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment