Location: PHPKode > scripts > ABC Protocol > abc-protocol/query.php
<?php
    require_once 'ABCProtocol.php';

    $abc = new ABCProtocol( 'localhost', 5000, 'UNIQUE_KEY_HERE' );
    
    echo '<pre>';
    if( $query = $abc->query() )
    {
        print_r( $query );
    }
    else
    {
        echo $abc->last_error_str;
    }
    echo '</pre>';
?>
Return current item: ABC Protocol