I have a select query on table and the result is more then 15000 lines, when i execute it with pdo, it didn't return any result
Is there any solution to return the result with my script.
NB : in phpMyAdmin
, the query return the desired result
$dbh = new PDO('mysql:host=localhost;dbname="namedb";charset=utf8', 'root', '');
$sth = $dbh->prepare("select * from table");
$sth->execute();
var_dump($data = $sth->fetchAll());