Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by postgresql.org (Postfix) with ESMTP id DDC0B47597D for ; Thu, 28 Feb 2002 04:50:10 -0500 (EST) Received: from etienne.digitalmindgames.com ([80.3.244.79]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020228095011.NQPU22101.mta07-svc.ntlworld.com@etienne.digitalmindgames.com> for ; Thu, 28 Feb 2002 09:50:11 +0000 Message-Id: <5.1.0.14.2.20020228094539.04ee9030@pop.ntlworld.com> X-Sender: mo.ukg@pop.ntlworld.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Thu, 28 Feb 2002 09:49:09 +0000 To: pgsql-php@postgresql.org From: pgsql@digitalmindgames.com Subject: Re: link problem In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200202/58 X-Sequence-Number: 964 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)