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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 16:01:31 2024 UTC