From: pgsql@digitalmindgames.com
To: pgsql-php@postgresql.org
Subject: Re: link problem
Date: Thu, 28 Feb 2002 09:49:09 +0000
Message-ID: <5.1.0.14.2.20020228094539.04ee9030@pop.ntlworld.com> (raw)
In-Reply-To: <Pine.BSO.4.21.0202281226290.23506-100000@library.iisc.erne t.in>
References: <Pine.BSO.4.21.0202261101420.32497-100000@library.iisc.ernet.in>
At 07:02 28/02/02, Arun wrote:
>hello sir,
> i have printed the contents of a database on a table using php. how
>to give link from each content of cell to another page or file(like
>pdf). table in php is been created using printf() statement and i am
>unable to insert code to give link for whatever i print.
> thanx in advance
> Arun
How are you fetching the data from your query? If you use pg_fetch_array(),
or one of the related functions, you can pick out the individual data
elements from the array and put whatever formatting you like around them.
best,
Mo
=====
"How can you expect a little child whose mother is an angel and whose
father is a Cannibal King and who has spent her life sailing the seas to
tell the truth always?"
Astrid Lindgren (1907-2002)
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: pgsql@digitalmindgames.com
Subject: Re: link problem
In-Reply-To: <5.1.0.14.2.20020228094539.04ee9030@pop.ntlworld.com>
References: <Pine.BSO.4.21.0202261101420.32497-100000@library.iisc.ernet.in> <5.1.0.14.2.20020228094539.04ee9030@pop.ntlworld.com>
* 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