Find Jobs
Hire Freelancers

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

$10-50 USD

Concluído
Publicado há quase 8 anos

$10-50 USD

Pago na entrega
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 do Projeto: 10674704

Sobre o projeto

28 propostas
Projeto remoto
Ativo há 8 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
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 em 1 dia
5,0 (1 avaliação)
2,7
2,7
28 freelancers estão ofertando em média $43 USD for esse trabalho
Avatar do Usuário
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 em 1 dia
4,9 (743 avaliações)
8,3
8,3
Avatar do Usuário
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 em 0 dia
4,9 (316 avaliações)
6,6
6,6
Avatar do Usuário
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 em 1 dia
5,0 (74 avaliações)
6,2
6,2
Avatar do Usuário
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 em 1 dia
5,0 (167 avaliações)
5,7
5,7
Avatar do Usuário
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 em 3 dias
5,0 (40 avaliações)
5,1
5,1
Avatar do Usuário
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 em 3 dias
5,0 (18 avaliações)
5,0
5,0
Avatar do Usuário
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 em 1 dia
4,9 (16 avaliações)
5,3
5,3
Avatar do Usuário
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 em 2 dias
5,0 (22 avaliações)
4,3
4,3
Avatar do Usuário
A Full Stack Developer with 5 years of experience in web development using Php, Jquery, Ajax, bootstrap, Angular Js, Wordpress.
$37 USD em 1 dia
5,0 (9 avaliações)
4,1
4,1
Avatar do Usuário
interested. pm me
$55 USD em 1 dia
4,3 (14 avaliações)
4,8
4,8
Avatar do Usuário
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 em 2 dias
5,0 (17 avaliações)
4,1
4,1
Avatar do Usuário
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 em 1 dia
4,1 (11 avaliações)
3,9
3,9
Avatar do Usuário
Hello Sir, Your project interests me. I will be available to participate in its realization. for more information contact me zakariaa benslimane
$25 USD em 1 dia
5,0 (4 avaliações)
3,0
3,0
Avatar do Usuário
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 em 1 dia
5,0 (1 avaliação)
2,8
2,8
Avatar do Usuário
**** 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 em 1 dia
5,0 (2 avaliações)
1,8
1,8
Avatar do Usuário
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 em 1 dia
5,0 (1 avaliação)
0,4
0,4
Avatar do Usuário
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 em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I have a large amount of experience in database design and queries, I can help you out easily and cheaply.
$15 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
A proposal has not yet been provided
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
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 em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Ewing, United States
5,0
157
Método de pagamento verificado
Membro desde fev. 22, 2015

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.