PHP Ajax Insert Data in MySQL By Using Bootstrap Modal

Hi there, I am using this code to refresh a table containing radio boxes that are used to select a delivery address on a form. If the user needs to add a new delivery address, the entire form input boxes remain populated and the delivery address table is refreshed for the user to select the new address. This is all working fine.

My problem is that when I use the modal to add a new delivery address and the DIV is refreshed, I cant seem to POST the refreshed DIV radio value.

Do other form fields and selecting an existing delivery address work?

The tutorial isn’t even using a form for the displayed information. Best guess is that the markup that is being produced and output by the insert.php code isn’t valid.

You would need to post all your code, less any database connection credentials, for anyone to be able to help.

Sponsor our Newsletter | Privacy Policy | Terms of Service