Bug #75866 [Opn->Nab]: PDO bug

From: Date: Wed, 24 Jan 2018 08:33:30 +0000
Subject: Bug #75866 [Opn->Nab]: PDO bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213685@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75866&edit=1 ID: 75866 Updated by: requinix@php.net Reported by: berkaykarats at icloud dot com Summary: PDO bug -Status: Open +Status: Not a bug Type: Bug Package: PDO related Operating System: KDE neon PHP Version: 7.0.27 Block user comment: N Private report: N New Comment: Fetch as an array and use $var["COUNT(id)"]. Or use an alias. Previous Comments: ------------------------------------------------------------------------ [2018-01-24 02:40:30] berkaykarats at icloud dot com Description: ------------ $data = $db->query("SELECT COUNT(id) FROM users"); print_r($data) outputs -> [COUNT(id)] => 3 but i cant access COUNT(id) because parenthesis are malfunction of function. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75866&edit=1

« previous php.bugs (#213685) next »