Esempio n. 1
0
 function inseri()
 {
     $mySQL = new BancoPDO();
     $sql = "INSERT INTO clientequartos (idclientequartos, idcliente, descricao, valor_hora ) VALUES (NULL, '{$this->cliente_id}', '{$this->descricao}', '{$this->valor_hora}')";
     $rs = $mySQL->prepare($sql);
     $rs = $mySQL->execute();
     $this->disconnect();
     return $this->result;
     return $rs;
 }