I need PHP & MySQL script. Using JS & AJAX. Graphs library.
2 tiny forms only 4 & 2 inputs.
1) The user create an entry (by putting manually an ORDER ID) and set an ORDER DATE and can choose between 4 different models.
2) The user can edit entry with his ORDER ID an set his ORDER SHIPPING DATE.
The backend system calculate how many days it tooks between ORDER DATE & ORDER SHIPPING DATE.
And generate html5 stats in graphics between 4 models. SEE ATTACHED IMAGE.
The form is already done in HTML. Please see attached image.
The code must be done combining JS AJAX & PHP. No refresh on page.
Well commented, and very strict on SQL injection security.