Change your form action to: action=""
You are depending on the $_GET['ID'] value for your insert and by not having it in the form action that value won't exist after the form submit.
By clearing the action and making it blank it will forward the ID from the url that you use to visit the page in the first place.