blobs didn't work??

From: "utomo restu" <utomo(at)linuxmail(dot)org>
To: "Cornelia Boenigk" <poppcorn(at)cornelia-boenigk(dot)de>
Cc: pgsql-php(at)postgresql(dot)org
Subject: blobs didn't work??
Date: 2003-06-29 01:15:46
Message-ID: 20030629011546.2266.qmail@linuxmail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

dear all,

spacialy tahnk's to cornelia,

> Hi utomo
>
> Try it this way:
> Call your function detail.php from the <img>-TAg in your program and
> don't use print $img here
> Get the oid of the image that you want display.
>
> <img src="detail.php?oid='.$oid.'">

> detail.php
> <?php
> ...
> pg_loreadall($ofp);
> pg_loclose($ofp);
> pg_exec($dbh, "END");
> }
> ?>

where i must put command <img src="detail.php?oid='.$oid.'"> ???
if beetwen <?php and pg_loreadall($ofp)its didn't work. next the syntax is i mind:

detail.php
<?php
<img src="detail.php?oid='.$oid.'">
pg_loreadall($ofp);
pg_loclose($ofp);
pg_exec($dbh, "END");
}
?>

from the script, i still found error....
please help me......
thank's

best regards

utomo
indonesia
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Cornelia Boenigk 2003-06-29 12:10:31 Re: blobs didn't work??
Previous Message Eric Koh 2003-06-28 21:09:21 query not aborted upon connection aborted?