Query: cubrid_free_result
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CUBRID_FREE_RESULT(3) 1 CUBRID_FREE_RESULT(3) cubrid_free_result - Free the memory occupied by the result dataSYNOPSISbool cubrid_free_result (resource $req_identifier)DESCRIPTIONThis function frees the memory occupied by the result data. It returns TRUE on success or FALSE on failure. Note that it can only frees the client fetch buffer now, and if you want free all memory, use function cubrid_close_request(3).PARAMETERSo $req_identifier -This is the request identifier.RETURN VALUESTRUE on success. FALSE on failure.EXAMPLESExample #1 cubrid_free_result(3) example <?php $conn = cubrid_connect("localhost", 33000, "demodb"); $req = cubrid_execute($conn, "SELECT * FROM history WHERE host_year=2004 ORDER BY event_code"); $row = cubrid_fetch_assoc($req); var_dump($row); cubrid_free_result($req); cubrid_close_request($req); cubrid_disconnect($conn); ?> The above example will output: array(5) { ["event_code"]=> string(5) "20005" ["athlete"]=> string(12) "Hayes Joanna" ["host_year"]=> string(4) "2004" ["score"]=> string(5) "12.37" ["unit"]=> string(4) "time" } PHP Documentation Group CUBRID_FREE_RESULT(3)
Related Man Pages |
---|
cubrid_free_result(3) - php |
cubrid_execute(3) - php |
cubrid_prepare(3) - php |
cubrid_drop(3) - php |
cubrid_result(3) - php |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
Forum Video Tutorial: How to Use Code Tags |
UNIX.COM 2017 Year End Summary |
Denial Of Service Attack Update |