• ZCE pdo
    PDO::setAttribute

    Calling this function with PDO::MYSQL_ATTR_USE_BUFFERED_QUERY will seem to work, but it DOES NOT.
    Instead, set it in the options array when instantiating the PDO connection.

    Example:
    <?php
    $con = new PDO("mysql:dbname=dbname;host=some.ip", "user", "pass", array(
    PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true,
    ));