php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69244 miss example with notice
Submitted: 2015-03-16 09:50 UTC Modified: 2015-03-29 04:22 UTC
From: peter dot mlich at volny dot cz Assigned:
Status: No Feedback Package: Documentation problem
PHP Version: 5.5.22 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
26 - 23 = ?
Subscribe to this entry?

 
 [2015-03-16 09:50 UTC] peter dot mlich at volny dot cz
Description:
------------
---
From manual page: http://www.php.net/pdostatement.fetch
---


Hi

I not found example with notice. Half not working example is not good for novice.
If you need something write to example for working (append conestion line or other). If example have no echo. This is half example. If i know, i can write missing code. If i dont, i do what?

connect - true, false write my msg + pdo error
query - true, false write my msg + pdo error
fetch - true, false write my msg + pdo error

I need it for program. Write customer i connect false, repair connect data. Query false, write query. Fetch false write ...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-16 19:39 UTC] peehaa@php.net
-Status: Open +Status: Feedback
 [2015-03-16 19:39 UTC] peehaa@php.net
It is not clear what you are saying. What is the problem / issue in specific?
 [2015-03-20 03:41 UTC] leelinde92 at gmail dot com
There's no bug here. All he's saying is the PDO extension throws a fatal error directly and he cannot pipe the error into his custom error handler.
 [2015-03-29 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 24 07:01:25 2021 UTC