I am sending a POST request with a bunch of parameters to a remote script which handles my parameters and enters its values into database.
As no parameter is getting written into the database, is there a way to get an error report from the remote database? Just as I am in PHPAdmin or other database IDE and try to enter some SQL command.
Is it possible for a remote PHP script (which handle parameters values) to receive an error report from a database and pass it back to me? I am asking this as I am not a web developer and I do not control the script. I can only ask for some features be implemented.
There isn’t anyway that I know of to get an error from a remote session. MySQL has
SHOW ERRORS;but this is only for your session.The PHP script can fairly easily check for SQL errors using
mysql_erroror using the above. The script developer could then have this passed back.