src/snac/server/database/SQL.php
/**
     * Add Not-Same Assertion
     *
     * Add a not-same assertion between icid1 and icid2, made by the given user and
     * having the given assertion statement.
     *
     * @param int $icid1 The first ICID
     * @param int $icid2 The second ICID
     * @param int $userid The ID of the asserting user
     * @param string $assertion The assertion to include with the link
     * @return boolean True if successful
     */
Add Not-Same Assertion
Add a not-same assertion between icid1 and icid2, made by the given user and
having the given assertion statement.


Add Not - Same Assertion Add a not - same assertion between icid1 and icid2 made by the given user and having the given assertion statement .
public function addNotSameAssertion($icid1, $icid2, $userid, $assertion) {
        $result = $this->sdb->query("insert into not_same
                (ic_id1, ic_id2, user_id, assertion)
                values ($1, $2, $3, $4) returning *;",
            array($icid1, $icid2, $userid, $assertion));
        return true;
    }
public function addNotSameAssertion ( $ icid1 , $ icid2 , $ userid , $ assertion ) { $ result = $ this -> sdb -> query ( " insert into not_same
                (ic_id1, ic_id2, user_id, assertion)
                values ($1, $2, $3, $4) returning *; " , array ( $ icid1 , $ icid2 , $ userid , $ assertion ) ) ; return true ; }
Add Not-Same Assertion
 Add a not-same assertion between icid1 and icid2, made by the given user and
 having the given assertion statement.
Add Not - Same Assertion Add a not - same assertion between icid1 and icid2 made by the given user and having the given assertion statement .