Subject | Formatting blobs into tables |
---|---|
Author | Robin Davis |
Post date | 2006-01-20T20:57:11Z |
Hi,
I can retrieve stored html with the following code, but I can't output
it into an html table with two columns. Could anybody [point me in the
right direction to learn how to?
<?
$dbh =
ibase_connect('C:/data/artists.fdb','*****','******','ISO8859_1',0,1);
$sql="SELECT COMPILATION FROM WOMEN ORDER BY LASTNAME ASC";
$result=ibase_query($sql)or die(ibase_errcode());
while ($row=ibase_fetch_row($result)){
$img[]=ibase_blob_echo($row[0]);
}
ibase_free_result($result);
ibase_close($dbh);
?>
Thanks a lot,
Rob Davis
(Using Apache/2.0.54 (Win32) PHP/5.1.1 and Firebird 2 (Beta) on an XP
machine)
I can retrieve stored html with the following code, but I can't output
it into an html table with two columns. Could anybody [point me in the
right direction to learn how to?
<?
$dbh =
ibase_connect('C:/data/artists.fdb','*****','******','ISO8859_1',0,1);
$sql="SELECT COMPILATION FROM WOMEN ORDER BY LASTNAME ASC";
$result=ibase_query($sql)or die(ibase_errcode());
while ($row=ibase_fetch_row($result)){
$img[]=ibase_blob_echo($row[0]);
}
ibase_free_result($result);
ibase_close($dbh);
?>
Thanks a lot,
Rob Davis
(Using Apache/2.0.54 (Win32) PHP/5.1.1 and Firebird 2 (Beta) on an XP
machine)