From:             [EMAIL PROTECTED]
Operating system: RedHat 7.1
PHP version:      4.0.4pl1
PHP Bug Type:     InterBase related
Bug description:  problem printing memo field

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);
?>



-- 
Edit Bug report at: http://bugs.php.net/?id=11094&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to