[PHP-DB] Displaying a PDF file

2006-09-14 Thread Ron Piggott (PHP)
I am creating a submit button on the fly. The purpose of this is to open up a new browser window and then display the contents of a PDF file. The code for this button reads: input type='button' value='Psalm 91'

RE: [PHP-DB] Displaying a PDF file

2006-09-14 Thread Bastien Koert
I think you need to add a content-type of application/pdf to the code to tell the browser that its a pdf coming down // We'll be outputting a PDF header('Content-type: application/pdf'); Bastien From: Ron Piggott (PHP) [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: PHP DB

[PHP-DB] local queries vs remote queries

2006-09-14 Thread Stuart Kendrick
hi, i'm looking for trouble-shooting pointers, particularly around how to debug query results on one host, i have a PHP reporting tool querying a PostGres back-end. Recently (i must have changed something ... but ... i don't remember even logging into this box recently, let alone changing

[PHP-DB] Help displaying Column Names

2006-09-14 Thread Grant Griffith
Hello All, I am fairly new to PHP but have coded in asp and asp.net for years. I am trying to find the code that will allow me to display the name of the column's from the table I am using. Below is the code where I am writing all the data out in a comma delimited fashion, but I want to make

Re: [PHP-DB] Displaying a PDF file

2006-09-14 Thread Miles Thompson
At 09:33 AM 9/14/2006, Ron Piggott (PHP) wrote: I am creating a submit button on the fly. The purpose of this is to open up a new browser window and then display the contents of a PDF file. The code for this button reads: input type='button' value='Psalm 91'

[PHP-DB] Re: tsearch2, PHP5 with Bidi + US-ASCII

2006-09-14 Thread Michelle Konzack
Am 2006-09-11 10:40:06, schrieb Chris: Michelle Konzack wrote: Am 2006-09-08 06:53:10, schrieb Chris: You're using postgres aren't you ? If you copy/paste the query and run Yes ;-) considering tsearch was in the subject that was rather a silly question wasn't it ;) it through psql

Re: [PHP-DB] Help displaying Column Names

2006-09-14 Thread Dimiter Ivanov
On 9/14/06, Miguel Guirao [EMAIL PROTECTED] wrote: You haven't searched at all, go to www.php.net and look up for mysql_field_name() and related functions!! -Original Message- From: Grant Griffith [mailto:[EMAIL PROTECTED] Sent: Jueves, 14 de Septiembre de 2006 10:22 a.m. To:

[PHP-DB] How to install PHP-DEV package for PDO_OCI

2006-09-14 Thread Choy, Wai Yew
Hi guru, Hope some kind souls out there can help me out here...I've successfully compile Apache2.2; PHP 5.16 on a Fedora 4 (with the Oracle instant client) machine...My connection to the remote Oracle database is working fine using OCI_CONNECT. My next step is to try out PDO. When I do a