Re: link problem

From: pgsql(at)digitalmindgames(dot)com
To: pgsql-php(at)postgresql(dot)org
Subject: Re: link problem
Date: 2002-02-28 09:49:09
Message-ID: 5.1.0.14.2.20020228094539.04ee9030@pop.ntlworld.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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)

Browse pgsql-php by date

  From Date Subject
Next Message Zak Greant 2002-02-28 10:09:00 Re: selecting a string
Previous Message arun kv 2002-02-28 07:07:12 Re: link problem