PDA

View Full Version : Loading data into a table from a text file


cherria
9-12-03, 08:29 AM
OK, no response to my earlier post (except from myself) so I'm chasing up support to see why they disabled the

LOAD DATA INFILE LOCAL

command. and am trying to get it re-enabled can anybody think of a good reason why they wouldn't want this command enabled?

HalfaBee
9-12-03, 07:52 PM
I don't think it is going to happen.
You will just have to either import the data elsewhere or write a script to do the same function.

Have a look at fgetcsv() to help importing the CSV.

HalfaBee

cherria
9-15-03, 07:06 AM
Is fgetcsv() a PERL function or is it a script I need to get from somewhere.


I don't see it in any of my PERL reference books?

thanks

Nino
9-15-03, 12:43 PM
Originally posted by cherria
Is fgetcsv() a PERL function or is it a script I need to get from somewhere.


I don't see it in any of my PERL reference books?

thanks



fgetcsv() is a PHP function.