We have a CRM which is written in PHP. We are having some problems with the database.
There is a functionality where the salesman (who login from sales side) can look at the list of customers, click on the "add note" button in front of that customer and type the details of their last sales visit. when they press submit that note is saved on that customer's file. That note can be viewed by salesmen or admin anytime later. It also shows up in a report which lists last 50 notes added.
The PROBLEM is that the notes are not saving. The salesmen types the note and presses submit and the text disappears but the note is not saved. The pop up window to add note stays there (its should close when they press submit) and is blank and the note never saves. This problem is there in IE, Firefox and Chrome. We cant figure it out. It has to be fixed with next 48 hours.
I have attached the [url removed, login to view] file which might be the culprit or maybe not.