Learn, Share, Build

241
September 19, 2017, at 12:38 PM

I want to provide a form structure where in it, has a input type text and a drop down filed . This combination multiples to the number of person in a respective database from the server . Now when ever for the respective text field some value in the drop down is selected and then the form is submitted , the value related to that text field and option value should go and sit in the database . My question is , Is it feasible to monitor which combination of the above data has been entered by having a check box or not ? If so , then how to do it , as here each checkbook will have two values one with respect the text field and other is option value . I have managed to multiple the text field and the option field and have ready the the data in them . The only question how to handle it during submitting.

Answer 1
<input tpye="checkbox" name="check_box"> 
foreach($_POST['check_box'] as $value) {
// your sql here
}
Rent Charter Buses Company
READ ALSO
Learn, Share, Build

Learn, Share, Build

Hi I am developing web application in angularjsI have one crud operation to perform in front end

184
Learn, Share, Build

Learn, Share, Build

I have 2 balls in game enemy and Player whenever i want to change coordinates i clear player rect but for some reasons enemy dissapearsDoes anyone have some tips what to do? maybe it's because i'm doing wrong making ffunctions moveleft moveright

290
Learn, Share, Build

Learn, Share, Build

As I know Auth::attempt is used to authenticate users from users table, but i want to authenticate another users from managers table and admin from admins tableI know there are laravel-multiauth plugin already exist

220