Relative Content

Tag Archive for phpmysqlajaxlaravel

Modal will show sucess message if the form is empty without checking the data in table in Laravel

Problem is the modal will show success message whether the form is empty . I wish to get the success message only if data entered in database otherwise show error message. here is my blade page. Repository concept is used for this. Data is inserted in db. The problem on Bootstrap modal. i wish to get success message only if data is inserted in database.otherwise shows error message.