Comment 'Hello gigperfect !ge...' to 'Using getAll() in BxDolConnection.php'
  • Hello gigperfect !

    getAll isn't a static method. So you need to change your code like

    $aResults = BxDolDb::getInstance()->getAll();

    BTW - for the cases with unique indexes you'd better use the getRow method. And better don't use the direct variables in the query:

    $aRow = BxDolDb::getInstance()->getRow("SELECT lot_id, user_id FROM final_folly.bx_messenger_jots WHERE user_id = :id", array(

    'id' => $iId) );