Re: using load data infile in a php script?
| From: | Kevin Beckford | Date: | Wed, 30 Aug 2000 15:20:20 +0000 |
| Subject: | Re: using load data infile in a php script? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14407@lists.php.net to get a copy of this message | ||
> Is there anyway this can be incorporated into a PHP scrip?
>
> LOAD DATA INFILE 'filename' INTO TABLE tablename?
>
$Query = "LOAD DATA INFILE '$filename' INTO TABLE $tablename"
and then do your query. Anything that you type in at the command line can be
used as a $Query in php