Re: [PHP-DB] Bulk Insert from text file

2008-09-25 Thread Niel Archer
Hi Could any 1 please help on how to insert using phpMyAdmin?? I haven't used phpMyAdmin in years, but here's how I'd do it in SQL with my favourite tool (SQLyog) LOAD DATA LOCAL INFILE 'C:\file_name.txt' INTO TABLE tbl_name FIELDS TERMINATED BY '\t' LINES TERMINATED BY '\n' IGNORE 1

Re: [PHP-DB] Bulk Insert from text file

2008-09-24 Thread Chris
Nasreen Laghari wrote: Hi All, I have bulk data store in text file, which is attached with this email. Attachments never come through to the php mailing list(s). If anyone asks for an attachment, place it somewhere on a website and provide a link. Could any 1 please help on how to insert

[PHP-DB] Bulk Insert from text file

2008-09-23 Thread Nasreen Laghari
Hi All, I have bulk data store in text file, which is attached with this email. Could any 1 please help on how to insert using phpMyAdmin?? I tried using below code but getting Error in SQL Syntax: BULK INSERT venue FROM 'c:\venues.txt' WITH ( FIELDTERMINATOR = ',')