Find Jobs
Hire Freelancers

PHP page to insert records from CSV to Mysql with some validations

$10-50 USD

Finalizat
Data postării: aproape 8 ani în urmă

$10-50 USD

Plata la predare
We need a PHP page to insert records from CSV to Mysql with some validations There are 6 fields in the CSV file. Procedure would be 1. User selects CSV file from browse button 2. The data is inserted (3 columns) into first Table A 3. Retrieve Auto generated Id from Table A and insert rest 3 columns in Table B 4. While inserting records in Table B check if records exist, if it does do not insert that particular record and show error in a PHP page about duplicate records You can use the following to load CSV file: MySQL has a feature LOAD DATA INFILE, which allows it to import a CSV file directly in a single SQL query, without needing it to be processed in a loop via your PHP program at all. Example: <?php $query = <<<eof LOAD DATA INFILE '$fileName' INTO TABLE tableName FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' (field1,field2,field3,etc) eof; $db->query($query); ?>
ID-ul proiectului: 10674704

Despre proiect

28 propuneri
Proiect la distanță
Activ: 8 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte
Acordat utilizatorului:
Avatarul utilizatorului
Hi, I have worked on a self driven project Mango EASO which takes data from eBay, Amazon in CSV format of the transactions and inserts in EASO application. It then automatically calculates profits and loss and taxes for the e-commerce sellers. So, I have used CSV file upload extensively. Kindly ping to discuss further on the project.
$30 USD în 1 zi
5,0 (1 recenzie)
2,7
2,7
28 freelanceri plasează o ofertă medie de $43 USD pentru proiect
Avatarul utilizatorului
I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactorily completed. Contact me at your soonest convenience so we may get your solution delivered quickly. Thanks, coderXO
$60 USD în 1 zi
4,9 (743 recenzii)
8,3
8,3
Avatarul utilizatorului
hello sir, i can do your project.... please accept my bid so that i can start it... i m expert in this type of project... u can also see my portfolio... please sir accept my bid.. please hope u will do i m waiting for your response.. thank you.. :)
$50 USD în 0 zi
4,9 (316 recenzii)
6,6
6,6
Avatarul utilizatorului
First thing is that you WILL need a loop for two reasons - your file does not match a table exactly. You have 3+3 fields going into 3+3 columns in separate tables. Second is the requirement to detect duplicates and report I assume only the duplicates. I can write the code for this. Regards.. Richard
$44 USD în 1 zi
5,0 (74 recenzii)
6,2
6,2
Avatarul utilizatorului
HI, I can do this job which will allow user to upload CSV files to MySQL It will have flow like you explained 1. User selects CSV file with browse button 2. The data is inserted Table A 3. Inerting data in table 4. If duplicate exists in table A will show error message a not insert
$66 USD în 1 zi
5,0 (167 recenzii)
5,7
5,7
Avatarul utilizatorului
Hi, I have already use the mysql 5 command to load data directly into database from csv. So, hopefully I will complete this job as well. Let us discuss more in chat thanks
$45 USD în 3 zile
5,0 (40 recenzii)
5,1
5,1
Avatarul utilizatorului
Hi ! there I am perfect freelancer for your project Just read my profile reviews and check what say others about me I can finish your project within your deadline and budget with 100% of your satisfaction thanks
$55 USD în 3 zile
5,0 (18 recenzii)
5,0
5,0
Avatarul utilizatorului
Loading like that doesn't always work on shared web hosting. Just use fgetcsv which infers the CSV structure and then a query to insert. Easy. Couple of lines.
$40 USD în 1 zi
4,9 (16 recenzii)
5,3
5,3
Avatarul utilizatorului
we are UK Base Company , Development office in India. We have dedicated team for PHP, Mobile Apps ( iOS, iPad, Android), Organic SEO and SMM and digital Marketing, and we have developed and deployed multiple scalable applications on various PHP frameworks/tools like CakePHP, PHPClassifieds, Laravel, Angular js, node js, Joomla, Drupal, OXID eShop, Magento, Wordpress etc.
$83 USD în 2 zile
5,0 (22 recenzii)
4,3
4,3
Avatarul utilizatorului
A Full Stack Developer with 5 years of experience in web development using Php, Jquery, Ajax, bootstrap, Angular Js, Wordpress.
$37 USD în 1 zi
5,0 (9 recenzii)
4,1
4,1
Avatarul utilizatorului
interested. pm me
$55 USD în 1 zi
4,3 (14 recenzii)
4,8
4,8
Avatarul utilizatorului
Hello, I have already done such importing CSV kind of data in MYSQL(in core php) in a voice calling billing web app. And I have read the descriptions and I am ready to start. I have 4 years of Experience in php/mysql/ajax. I am further available to discuss via message.
$40 USD în 2 zile
5,0 (17 recenzii)
4,1
4,1
Avatarul utilizatorului
We need a PHP page to insert records from CSV to Mysql with some validations There are 6 fields in the CSV file. Procedure would be 1. User selects CSV file from browse button 2. The data is inserted (3 columns) into first Table A 3. Retrieve Auto generated Id from Table A and insert rest 3 columns in Table B 4. While inserting records in Table B check if records exist, if it does do not insert that particular record and show error in a PHP page about duplicate records You can use the following to load CSV file: MySQL has a feature LOAD DATA INFILE, which allows it to import a CSV file directly in a single SQL query, without needing it to be processed in a loop via your PHP program at all. Example: <?php $query = <<<eof LOAD DATA INFILE '$fileName' INTO TABLE tableName FIELDS TERMINATED BY '|' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' (field1,field2,field3,etc) eof; $db->query($query); ?>
$35 USD în 1 zi
4,1 (11 recenzii)
3,9
3,9
Avatarul utilizatorului
Hello Sir, Your project interests me. I will be available to participate in its realization. for more information contact me zakariaa benslimane
$25 USD în 1 zi
5,0 (4 recenzii)
3,0
3,0
Avatarul utilizatorului
I have read all the four points and i will provide you full functional page as per your needs. I can start this work immediately and will provide you best work. Awaiting for your feedback. Thanks, Gaurav :)
$40 USD în 1 zi
5,0 (1 recenzie)
2,8
2,8
Avatarul utilizatorului
**** I have updated my bid in order to secure the project award. This is your opportunity to save 60% on an excellent service! Your project really interests me. Excellent example in the project description that provides a springboard for development! I am very confident that I can provide exactly what you are looking for as I have just completed a project very similar to this. I look forward to hearing back from you so we can begin working together. Regards, Zach Washburn
$25 USD în 1 zi
5,0 (2 recenzii)
1,8
1,8
Avatarul utilizatorului
Hi, I'm able to do that, I'm skilled with MySQL/PHP and already done some stuff like this in the past, I can have it in few hours.
$55 USD în 1 zi
5,0 (1 recenzie)
0,4
0,4
Avatarul utilizatorului
Hi I am highly interested to do this project. I will make you happy.I don’t need any upfront or milestone payment. Pay me when you will happy. Looking forward. Thanks
$50 USD în 1 zi
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
I have a large amount of experience in database design and queries, I can help you out easily and cheaply.
$15 USD în 1 zi
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
A proposal has not yet been provided
$30 USD în 1 zi
0,0 (0 recenzii)
0,0
0,0
Avatarul utilizatorului
My major is PHP i can get your job done. I've created account here but i don't use this site before. But now i want to build my reputatuion here and i believe starting with a job is an opportunity. I can deliver you work within the stipulated period of time. I've handled lots and lots of projects in the past and i believe this should be the best time to start freelancing job
$30 USD în 1 zi
0,0 (0 recenzii)
0,0
0,0

Despre client

Steagul UNITED STATES
Ewing, United States
5,0
157
Metoda de plată a fost confirmată
Membru din feb. 22, 2015

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.