Re: blobs didn't work?? - Mailing list pgsql-php

From Cornelia Boenigk
Subject Re: blobs didn't work??
Date
Msg-id 004901c33e37$7e9e8ff0$e8ebfea9@zwerg2000
Whole thread Raw
In response to blobs didn't work??  ("utomo restu" <utomo@linuxmail.org>)
List pgsql-php
Hi utomo

> where i must put command <img src="detail.php?oid='.$oid.'"> ???

I am talking of two files. The first file is a normal php/html file
where you place the <img> tag to display the images. This file is
calling the display routine in the second file within the <img>-tag.

http://www.pgsql.info/dpunkt/showsource.php?datei=images.php
is an example for the file with the <img> tag. It calls the display
routine 'bildzeigen.php' with the oid as first parameter ($bild
contains the oid):

echo '<td><img src="bildzeigen.php?bild='.$bild.'"
'.$zeile["htmlstr"].'></td></tr>';

http://www.pgsql.info/dpunkt/showsource.php?datei=bildzeigen.php
is the routine which displays the image, called from the <img> in the
above file.

http://www.pgsql.info/dpunkt/images.php is the working example.

I hope this makes it clear.

Regards
Conni


pgsql-php by date:

Previous
From: "utomo restu"
Date:
Subject: blobs didn't work??
Next
From: "scott.marlowe"
Date:
Subject: Re: Simulating a POST request