Most voted "fetchall" questions
4 questions
Sort by count of
-
0
votes1
answer53
viewsBring bank result and put in a list to use with variables
I’m working with Python 3.7. I am trying to define variables with data from a list[], the values of the list[] is a result coming from the database, but is giving error. Code: conn =…
-
0
votes1
answer30
viewsCheck if Node created with insertAdjacentHTML in a loop is "visible"
I’m looking for fragments of HTML with fetch() and adding to the DOM with the function insertAdjacentHTML() in a loop for()... the function that performs this task is in a Promise() and its return…
-
-1
votes1
answer1059
views"Call to Undefined method mysqli_result::fetchAll()" in PDO
The following code displays an undefined method error on the line: $result = ($exec!==false)?$exec->fetchAll(PDO::FETCH_ASSOC):$exec; public function getConnection(){ global $conn; $this->conn…
-
-1
votes2
answers194
viewsSchedule of commitments using fetchAll(PDO::FETCH_NAMED)
I am using fetchAll(PDO::FETCH_NAMED) to retrieve records from my database. received the following array Array ( [0] => Array ( [idAgenda] => 2 [dataAgenda] => 1996-02-14 [localAgenda]…