Re: [PHP-DB] Building PHP with Oracle support

2007-01-24 Thread Christopher Jones
Wow - I suddenly realize It's been a long time since I compiled the obsolete "oracle" extension. We've done so much with the newer "oci8" one recently. I had a similar problem with PDO_OCI recently that turned out to be a linking problem. Chris Andrew Bergman wrote: Hi, I am trying to compi

[PHP-DB] Building PHP with Oracle support

2007-01-24 Thread Andrew Bergman
Hi, I am trying to compile PHP 5.2.0 on RedHat Enterprise Linux 4 AS 64 bit with Oracle support. (not oci8). The configure line I have used is: ./configure --with-apxs2=/usr/sbin/apxs --with-config-file-path=/etc/httpd/conf/httpd.conf --with-oracle=/export/oracle/pegasus/product/9.2.0 --wi

Re: [PHP-DB] Formatting MySQL Queries

2007-01-24 Thread Niel Archer
Hi SELECT * FROM table INTO OUTFILE 'file_name' FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' Niel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Formatting MySQL Queries

2007-01-24 Thread Brent Anderson
Hello. Just as I posted this, I found a MySQL example on php.net and was able to modify it to fit my needs. Here is the script: \n"; foreach ($line as $col_value) { echo "$col_value\t"; } echo "\n"; } // Free resultset mysql_free_result($result); // Closing connection mysql_

[PHP-DB] RE: Formatting MySQL Queries

2007-01-24 Thread Jeremy Glover
-Original Message- From: Brent Anderson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 24, 2007 4:21 PM To: php-db@lists.php.net Subject: Formatting MySQL Queries Hello. My team and I are looking for a way to return an entire table of MySQL data with columns delimited by tabs and

[PHP-DB] Formatting MySQL Queries

2007-01-24 Thread Brent Anderson
Hello. My team and I are looking for a way to return an entire table of MySQL data with columns delimited by tabs and rows delimited by carriage returns. How exactly would this work - I'm not a PHP expert and, although I know MySQL, I don't know where to begin with formatting a query poin