RE: [PHP-WIN] INSERT INTO TABLE

2001-05-21 Thread Asendorf, John
[> Replace MY_TABLE_HERE with INTO TABLE '$t' and I get nothing.] Try -> MY_TABLE_HERE with INTO TABLE $t ^^^ (Gid rid of single quotes) John - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.co

Re: [PHP-WIN] INSERT INTO TABLE

2001-05-21 Thread Johannes Janson
Hi, > if(!($result=mysql_db_query($DB, "LOAD DATA INFILE '$p' INTO TABLE '$t' > FIELDS TERMINATED BY '|' LINES TERMINATED BY ';'"))) you don't need the single quotes around the table. LOAD DATA INFILE 'fliename' INTO TABLE tablename . hope it helps Johannes -- PHP Windows Mailing List (