I have an upload script and I need to make it work with a function that can do the following:
- Read from a CSV file, separator is ","
- The first row in the CSV is the table names, those are the exact same names used in the database in that table so "id" equates to an "id" column in the table same as "city" equates to a "city" column in the table, etc. There are a total of 30 columns in the database table.
- Columns are not in the same order so matching columns regardless of position is needed
- Build an SQL query that UPDATES and INSERTS records from the csv according to the following 2 rules:
* One column is the ID, if the ID is set that means that the record exists and needs to be UPDATEd in the database.
* If the ID field is empty in a row that means that the record doesn't exists and needs to be INSERTED in the database
Just to be clear I have the upload script working and the only thing I need from you is to develop a script that handles the insert and update of the records in the MySQL database as explained above, hopefully in a class/function fashion.
Payment will be 50% when you show me the program working and 50% after I test the code and all possible issues had been resolved.
This project was awarded to
Grace knew what she was doing. This is my first time working with Freelancer.com and When others came with Extremely high bids, Grace came through with a great deal. She promised to have the website done within 1 day and she came through excellent. She asked alot of questions and made sure everything was what i expected. I would definitely recommend her to anyone using this service, and I do plan on using her again no doubt. Hands down, I believe Grace is a well prepared programmer, and her talents exceed everyone else.
Looking to make some money?
- Set your budget and the time frame
- Outline your proposal
- Get paid for your work
Bids on this Project
## BIO PHP MySQL .Net C# Java HTML CSS Joomla OsCommerce Wordpress OpenCart Drupal Android Programming Mobile Programming ## Area of Expertise PHP MySQL .Net C# Java HTML CSS Joomla OsCommerce Wordpress OpenCart Drupal Android Programming Mobile Programming
I am a professional web and mobile application developer. Have working experience in different technologies and tools for 5 years. For mobile application development, I do back end coding or can work on existing API. If you need any help on below platform I am here to help you. Web: PHP, MySQL, Yii, CakePHP, CodeIgniter, Drupal, jQuery. Mobile: Android, Titanium, Blackberry 10, PhoneGap, jQuery Mobile. Thanks.
Puttalam, Sri Lanka
Hi, I am Working as a web developer past two years. I have more experiance in php related projects such as ebay, Amazon Api's and Web Scraping.
Technowebs is reputed web design and development team satisfying our customer with our quality service from 7+ years. We guarantee that we will work with you until you get satisfied outcomes. Why hire us? 1. Team of qualified and experienced developers. 2. Great understanding of customers needs and project scope. 3. Suggesting the best solution. 4. High completion rate (94% on date) and repeat hire rate (>30% employers hire us repeatedly). 5. 100% on time and on budget profile. 6. Good communication. Thank you very much for viewing our profile, we hope we will work together.
IKOTA LEKKI AJAH, Nigeria
I am a Web Developer who has been working since 2005. I'm comfortable working with many different technologies and languages, including c#, php, mysql, sql server etc. I do have capabilities in Desktop Applications as well, but I mainly work on Websites and Web applications. My areas of expertise involve PHP/MYSQL Web Application Development, Wordpress Development, Application Development etc. I have strong command over custom php and programming. By 2014, I had completed almost 400 Projects on Freelancer.com alone.
Ha Noi, Vietnam
o Highly responsible at work o Honest, active o Creative and Open-minded o Dynamic, creativeness, eagerness to learn. High self-discipline o Good teamwork and presenting skill