Is there a way to use PHP to ONLY write to the database?
I am calling a PHP using POST to send data to the server to be stored in the database. The logic to save it is in the PHP.
What I want to happen is that the program calling the PHP (with a SAVE button) pops up a modal window indicating that the database operation was a success or not a success. What is happening now is that I am getting a blank page in the browser which is popping up these messages. And to get back to my page I need to use the browser back button. And for other reasons this is not good.
I am calling a PHP using POST to send data to the server to be stored in the database. The logic to save it is in the PHP.
What I want to happen is that the program calling the PHP (with a SAVE button) pops up a modal window indicating that the database operation was a success or not a success. What is happening now is that I am getting a blank page in the browser which is popping up these messages. And to get back to my page I need to use the browser back button. And for other reasons this is not good.
Comment