Questions tagged as 'fetchall'

1
answer

Check if Node created with insertAdjacentHTML in a loop is "visible"

I'm looking for fragments of HTML with fetch() and adding to DOM with function insertAdjacentHTML() in loop for() ... the function that performs this task is in Promise() and its% return (in case of succ...
asked by 28.01.2018 / 18:51
1
answer

"Call to undefined method mysqli_result :: fetchAll ()" in PDO [closed]

The following code has an undefined method error on the line:    $result = ($exec!==false)?$exec->fetchAll(PDO::FETCH_ASSOC):$exec; public function getConnection(){ global $conn; $this->conn = $conn;...
asked by 14.03.2016 / 21:51
2
answers

Schedule of appointments using fetchAll (PDO :: FETCH_NAMED)

I'm using fetchAll (PDO :: FETCH_NAMED) to get the records from my database. I received the following array Array ( [0] => Array ( [idAgenda] => 2 [dataAgenda] => 1996-02-14 [lo...
asked by 23.05.2016 / 01:03