From: utomo restu <utomo@linuxmail.org>
To: Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
Cc: pgsql-php@postgresql.org
Subject: blobs didn't work??
Date: Sun, 29 Jun 2003 09:15:46 +0800
Message-ID: <20030629011546.2266.qmail@linuxmail.org> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: utomo@linuxmail.org, poppcorn@cornelia-boenigk.de
Subject: Re: blobs didn't work??
In-Reply-To: <20030629011546.2266.qmail@linuxmail.org>
References: <20030629011546.2266.qmail@linuxmail.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox