|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-24 15:34 UTC] jmoore@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
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); ?>