Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function valUser($item){
- $query = "select * from usuarios where usuario = ? and password = ?";
- $res = $this->bd->Execute($query, [$item[0],$item[1]]);
- if (strcmp($res->status,"ok_query_success")==0){
- $valor = $this->estado["success"]=$res->data;
- print_r($valor);
- if (condition) {
- $this->estado["status"]="ok_log_in";
- }else if(condition){
- $this->estado["status"]="err_log_in";
- }
- //$this->estado["success"]=$res->data;
- //$this->getEstado();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement