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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 14:01:29 2024 UTC