RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Hi, Ok, considering the FULL PATH and the QUOTES thingy, this is the code i'm applying : ?php $db = mysql_connect(localhost,mydb,pwd); mysql_select_db(mydb,$db); $query = LOAD DATA INFILE 'D:\Apache Group\Apache\htdocs\mjimm\php3\tabledata\fanlist.csv' INTO fanlist_try FIELDS TERMINATED BY ','

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
DL Neil, OK buddy, let me be more than frank with you.. i don't think i've been quite as confused and having the expression what the hell are you tryin 2 say on my lips in a while, as i had when i read your mail. Hmm.. i do hope u can help me though.. T. Edison jr. Further to David's

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Rick Emery
Has fanlist_try table been created? -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 10:54 AM To: Jason Murray Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Hi, Ok, considering the FULL PATH

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Hi, Ok, considering the FULL PATH and the QUOTES thingy, this is the code i'm applying : ?php $db = mysql_connect(localhost,mydb,pwd); mysql_select_db(mydb,$db); $query = LOAD DATA INFILE 'D:\Apache Group\Apache\htdocs

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Rick Emery
To: Rick Emery Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Oh yes, definately. With the appropriate columns too. --- Rick Emery [EMAIL PROTECTED] wrote: Has fanlist_try table been created? -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Darren Gamble
:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 9:54 AM To: Jason Murray Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Hi, Ok, considering the FULL PATH and the QUOTES thingy, this is the code i'm applying : ?php $db = mysql_connect(localhost,mydb,pwd

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 11:09 AM To: Rick Emery Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Oh yes, definately. With the appropriate columns too. --- Rick Emery [EMAIL PROTECTED] wrote: Has

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread val petruchek
Hi Rick, Thanks for the support! This is the mySQL Table Structure : $sql = CREATE table fanlist_try (ID bigint(21) NOT NULL auto_increment, name varchar(50), email varchar(70), age int(10), sex varchar(20), country varchar(50), PRIMARY KEY (ID)); sex varchar(20) sounds great. why do

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
AM To: Jason Murray Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Hi, Ok, considering the FULL PATH and the QUOTES thingy, this is the code i'm applying : ?php $db = mysql_connect(localhost,mydb,pwd); mysql_select_db(mydb,$db); $query = LOAD DATA

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
Val, quite frankly, i'm not quite sure i know what you're talking about. i don't think i know enum() function!! T. Edison jr. --- val petruchek [EMAIL PROTECTED] wrote: Hi Rick, Thanks for the support! This is the mySQL Table Structure : $sql = CREATE table fanlist_try (ID

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread val petruchek
- From: Thomas Edison Jr. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 13, 2002 7:36 PM Subject: Re: [PHP] Re-Importing .CSV file into Database Val, quite frankly, i'm not quite sure i know what you're talking about. i don't think i know enum() function

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Thomas Edison Jr.
: [PHP] Re-Importing .CSV file into Database Val, quite frankly, i'm not quite sure i know what you're talking about. i don't think i know enum() function!! T. Edison jr. --- val petruchek [EMAIL PROTECTED] wrote: Hi Rick, Thanks for the support

Re: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread val petruchek
:[EMAIL PROTECTED] - Original Message - From: Thomas Edison Jr. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 13, 2002 7:36 PM Subject: Re: [PHP] Re-Importing .CSV file into Database Val, quite frankly, i'm not quite sure i know what

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Darren Gamble
-Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 10:35 AM To: Darren Gamble Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database Hi Darren, Actually your code worked, those errors did go way by putting

RE: [PHP] Re-Importing .CSV file into Database

2002-02-13 Thread Matt Schroebel
Me thinks you need to have file privileges. See http://www.mysql.com/doc/P/r/Privileges_provided.html -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] the current problem at hand of getting the : error:Access denied for user: 'mjimm@localhost' (Using password:

[PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Thomas Edison Jr.
Glory! I have a bunch of .CSV (Microsoft Excel Comma Seperated Values) Files with me, whose data i want to put back into my mySQL database tables. How can i do that through php? or otherwise... thanks, T. Edison jr. = Rahul S. Johari (Director) **

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Rick Emery
PROTECTED] Subject: [PHP] Re-Importing .CSV file into Database Glory! I have a bunch of .CSV (Microsoft Excel Comma Seperated Values) Files with me, whose data i want to put back into my mySQL database tables. How can i do that through php? or otherwise... thanks, T. Edison jr. = Rahul S

Re: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread DL Neil
Glory! I have a bunch of .CSV (Microsoft Excel Comma Seperated Values) Files with me, whose data i want to put back into my mySQL database tables. How can i do that through php? or otherwise... Take a look at MySQL-Front - its menu system talks about CSV (I've not had an excuse to use

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Thomas Edison Jr.
on the server and you have access to it, yes. If the file is on the client, then no -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 12:21 PM To: Rick Emery Subject: RE: [PHP] Re-Importing .CSV file into Database HI

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Rick Emery
. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:11 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database I have space on a server on the internet. I have mySQL PHP4 support. And i can easily upload the .CSV files on the server itself. Could you kindly help

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Thomas Edison Jr.
Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:11 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re-Importing .CSV file into Database I have space on a server on the internet. I have mySQL PHP4 support. And i can easily upload the .CSV files on the server itself

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... Hi Rick, I tries your code but i'm constantly getting some errors. I modified the line to try and correct the error, and this is the code i'm using : ?php $db = mysql_connect(localhost,mydb,pwd); mysql_select_db(mydb,$db);

RE: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread Jason Murray
The error message might be useful, but in any case I think you need to enclose the source filename in quotes; also (you better check the docs here) if I remember correctly you need to give the full path to the source file unless it is in the mysql data directory. That's right, it needs

Re: [PHP] Re-Importing .CSV file into Database

2002-02-12 Thread DL Neil
The error message might be useful, but in any case I think you need to enclose the source filename in quotes; also (you better check the docs here) if I remember correctly you need to give the full path to the source file unless it is in the mysql data directory. That's right, it