Considering the above statements, if the parameter is set to CUBRID_EXEC_QUERY_ALL, which is the default option, a synchronous mode (sync_mode) is used to retrieve query results immediately after executing ALL prepared queries. In other words, in sync_mode the server will execute ALL your queries without returning any data, and only after all of them are executed, you can go through the resultset.
Also in case CUBRID_EXEC_QUERY_ALL is set, the following rules are applied.
On the other hand, if CUBRID_ASYNC is set, an asynchronous mode (async_mode) is used. In this case the results will be retrieved immediately each time cubrid_execute() is called.
Hope this answer will help you!
You are either using a very old browser or a browser that is not supported. In order to browse cubrid.org you need to have one of the following browsers: