docloseprep.php

This script closes a prepared SQL statement.

The current session must contain the connection parameters for database access.

dorunprep.php processes the following HTTP parameters:

PHPSESSID
(required) the session ID returned from dologin.php
stm-id
(required) is the prepared SQL statement identifier returned by doprepare.php

The response structure returned by docloseprep.php is as follows:

<result>
        <ok/>
        ...
        <warning>
                <reason>error message</reason>
                <sqlstate>SQL state</sqlstate>
                <vendor-code>vendor code</vendor-code>
        </warning>
</result>

In case of errors or warnings it looks like this:

<result>
        <error>
                <reason>error message</reason>
                <sqlstate>SQL state</sqlstate>
                <vendor-code>vendor code</vendor-code>
        </error>
</result>