|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-08 15:33 UTC] ian_mcmurray at utb dot uscourts dot gov
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Mar 20 17:00:01 2026 UTC |
Description: ------------ Using PDO_informix (v1.0.0) No data is returned and it want's to save the output as a file rather than show the output in the browser. Removing the placeholder code and defining the record id in the SQL shows the record in the browser just fine. Reproduce code: --------------- $stmt = $db->prepare("select * from case where cs_caseid = :caseid"); if ($stmt->execute(array(':caseid' => '258579')) ) { while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { print_r($row); } } Expected result: ---------------- Return the specified record Actual result: -------------- Wants to save the php output as a file rather than display in the browser.