https://github.com/promatik/php-ajax-csv-importer
PHP - Ajax CSV Importer
https://github.com/promatik/php-ajax-csv-importer
ajax ajax-csv-importer csv mysql php
Last synced: 2 months ago
JSON representation
PHP - Ajax CSV Importer
- Host: GitHub
- URL: https://github.com/promatik/php-ajax-csv-importer
- Owner: promatik
- License: mit
- Created: 2017-09-12T09:26:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-12T16:19:56.000Z (almost 9 years ago)
- Last Synced: 2025-01-30T23:32:13.552Z (over 1 year ago)
- Topics: ajax, ajax-csv-importer, csv, mysql, php
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP - Ajax CSV Importer
**Ajax CSV Importer** is a powerfull tool to import csv into a database (or anything else), it executes the csv **line by line**, and allows the user watch the progress. The output of each iteration is added to the console.
Code
----
You'll need to change the fields:
```php
// Set fields
$fields = ['id', 'a', 'b', 'c'];
```
So then you'll be able to access fields as variables:
```php
$result = $mysqli->query("UPDATE test SET data = $a WHERE id = $id");
```
Screenshots
----


License
----
MIT