1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to do that event for mysql?

Discussion in 'Development' started by LewBr, Oct 24, 2017.

  1. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Hello, how can i change this code for mysql
    PHP:
        public function hihi($jg1$jg2) {
                    
    $a $this->db->query("SELECT * FROM men WHERE jogador='$jg1' AND jogador2='$jg2'");
                    
    $b $a->fetchArray(SQLITE3_ASSOC);
                    return !empty(
    $b);
           
        }
     
  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    I know now, sorry.
     
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Please mark as solved and provide your solution
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.