the above example does not function well...
it just returned
(
[queryString] => "SELECT * FROM...."
)
with a trailing ->fetchAll() everthing is working fine...
the complete correct line:
foreach ($conn->query($sql)->fetchAll as $row) {
.
.
.