RE: [PHP-WIN] INSERT INTO TABLE

2001-05-21 Thread Asendorf, John
s Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aliquando et insanire iucundum est > -Original Message- > From: Anthony Darby [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 21, 2001 4:10 AM > To: PHP Win > Subject: [PHP-WIN] INSERT I

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 (

[PHP-WIN] INSERT INTO TABLE

2001-05-21 Thread Anthony Darby
Hello, I have a select box which grabs table names as in the first snippit of code. I then have an INSERT statement which loads a text file I specifiy in a text field into the selected table . This executes on PHP_SELF submit. If I replace '$t' with INTO TABLE MY_TABLE_HERE, I get an insert and