php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71605 while i use below example page blanks
Submitted: 2016-02-16 07:38 UTC Modified: 2016-02-16 07:47 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: abhijeet dot chougule09 at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: Irrelevant OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: abhijeet dot chougule09 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-02-16 07:38 UTC] abhijeet dot chougule09 at gmail dot com
Description:
------------
Hello,

I am using cakephp,
when i use below code pages comes with blank data.

$this->loadModel('User');
if(!empty($this->User->query('select count(1) from user'))){
echo 'ok';
}else{
echo 'Not OK';
}

Expected result:
----------------
ok


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-16 07:47 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2016-02-16 07:47 UTC] requinix@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 23:00:01 2026 UTC