Running aPHP/mysqli code, lmost identical C++ code using the C API works fine, so I can isolate where I think the problem starts: with the next_result () function. In the C++ code, next_result () returns TRUE to indicate a new result was available after using the prepared statement to run the stored procedure. In the PHP/mysqli code, next_result () returns false, and, in fact, fails to produce ...