php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11094 problem printing memo field
Submitted: 2001-05-24 13:39 UTC Modified: 2001-05-24 15:34 UTC
From: vladb38 at hotmail dot com Assigned:
Status: Not a bug Package: InterBase related
PHP Version: 4.0.4pl1 OS: RedHat 7.1
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: vladb38 at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-05-24 13:39 UTC] vladb38 at hotmail dot com
I have tried to print a text from a memo field using the 
following code. Why doesn't it work. I am new to PHP so 
this could be a misundertanding from my part. Thank you 
for any help.


<?
$host="...";
$username="SYSDBA";
$password="masterkey";
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM THETABLE';
$sth = ibase_query ($dbh, $stmt);
echo('<table border=1>');
//while ($row = ibase_fetch_object ($sth)) {
$row = ibase_fetch_object ($sth);
echo('<tr>');
echo('<td> <font color=blue>');
print $row->MEMOTEXT . "\n" ;
echo('</font> </td>');
echo('</tr>');
//}
echo('</table>');
ibase_close ($dbh);
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-24 15:34 UTC] jmoore@php.net
This is not a support forum but a place to report bugs in PHP itself, please ask for help on the php-general list. For more information see http://www.php.net/support.php

- James
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC