Find Jobs
Hire Freelancers

PHP object to insert XML into a MySQL database

£20-250 GBP

Completed
Posted almost 7 years ago

£20-250 GBP

Paid on delivery
PHP object to insert XML into a MySQL database I require a PHP class/object to be written. I want to pass it a database object/instance, table name, an ASCII string which would contain an XML file, and a child element name. The class would then take the XML field values from within the element specified and insert them into the specified SQL table. The XML format may change, so it is important that the object processes whatever fields it can, and doesn’t stop working when it gets to a field name in the XML which does not have a corresponding database table or field. It should NOT create any new fields in the database – but output an error and continue processing whatever fields it can. An XML element may contain more than one entry (i.e. ‘Person’ in the example below). The class should loop over all the ‘Person’ elements, creating a new row for each person. Where a child element contains repeated values (i.e. ‘emails’ in the example below), then these should be recorded in a second table which is called the same name as passed to the object, but with -emails appended to the name. i.e. $XML_file: <?xml version="1.0" encoding="utf-8"?> <Version>123</Version> <Color>Blue</Color> <PeopleArray> <Person> <Name>Fred</Name> <Surname>Bloggs</Surname> <emails> <email>fred@[login to view URL]</email> <email>fred@[login to view URL]</email> </emails> </Person> <Person> <Name>Jo</Name> <Surname>Smith</Surname> <emails></emails> </Person> <Person> <Name>Mike</Name> <Surname>Jones</Surname> <emails> <email>mike@[login to view URL]</email> <email>mike@[login to view URL]</email> <email>mike@[login to view URL]</email> </emails> <phones> <phonenumber>123456</phonenumber> <phonenumber>987654</phonenumber> </phones> </Person> </PeopleArray> Input: $example = new ProcessXML($dbObj, Customers, $XML_file, PeopleArray) $result = $example->execute(); echo ‘Warnings’.$result Output: Inserts the following data into a table called ‘Customers’ with the following field names: UniqueID, Name, Surname 1, Fred, Bloggs 2, Jo, Smith 3, Mike, Jones Inserts the following data into a table called ‘Customers-emails’ with the following field names: UniqueID, email 1, fred@[login to view URL] 1, fred@[login to view URL] 3, mike@[login to view URL] 3, mike@[login to view URL] 3, mike@[login to view URL] Inserts the following data into a table called ‘Customers-phones’ with the following field names: UniqueID, phonenumber 3, 123456 3, 987654 If errors occur, i.e., a field didn’t exist in the table, then a descriptive warning should be returned. Must be written using the following software versions: • MySQL v 5.7 • PHP v7.1 (use PDO to query the SQL database, not MySQLi) No deprecated features/functions to be used. Code to be well commented in English. Variable and object names to be relevant and in English.
Project ID: 14474122

About the project

48 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
hello sir i am expert in convert xml to mysql i have 5 year expereince in mysql i am able to do this work you will satisfy with my work thank you Relevant Skills and Experience php , my sql Proposed Milestones £88 GBP - fulll milestone
£88 GBP in 3 days
4.9 (159 reviews)
6.8
6.8
48 freelancers are bidding on average £158 GBP for this job
User Avatar
Hello There, I reviewed your job description & my understanding is that you want PHP object to insert XML into a MySQL database Concerns to be discuss on message board I'm a PHP expert worked on many sites in technologies like PHP , Magento, wordpress, opencart, Shopify, HTML5, responsive, website design, development, product management experience and also frameworks like Laravel, Smarty, Yii 1&2, Cakephp, CodeIgnitor etc. I'm very interested in your job post involving these skills. I've consistently delivered projects on time and under budget as you'll see in my work history. I am an expert web Designer & Developer. I have more than 10 years of web design and html development experience. I have worked on more than 1000 websites/portals till date. I have the latest technical expertise and have an eye for detail and can speed with the latest design. Having command on Photoshop, HTML5, CSS3,MySQL, Responsiveness. Please initiate message box to discuss further Awaiting for your positive reply, Thanks & Regards, Shubham
£111 GBP in 3 days
4.8 (288 reviews)
8.6
8.6
User Avatar
Best quality & Fast turnaround Over 7 years, I am working for mobile(native & web) and web programming. Relevant Skills and Experience i have already worked about this skilled Joomla , Php , Open cart , Wordpress , Javascript , Shopify, Bigcommerce , Os commerce , Shopping cart related and many other things related.. Proposed Milestones £180 GBP - Milestone
£180 GBP in 7 days
4.7 (518 reviews)
8.3
8.3
User Avatar
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks Relevant Skills and Experience MySQL, PHP, XML Proposed Milestones £195 GBP - milestone
£195 GBP in 7 days
4.9 (463 reviews)
8.2
8.2
User Avatar
I'm a PHP/Drupal/WordPress/Laravel/Slim Framework CERTIFIED EXPERT coder. Relevant Skills and Experience I have a lot of experience with System admin + Html + Javascript + CSS + API integration Please have a look at my Portfolio and client's feedback here for the projects completed. Proposed Milestones £111 GBP - final delivery Can you please provide the full specs about your project?
£111 GBP in 3 days
4.9 (628 reviews)
8.3
8.3
User Avatar
Hello, I have all skills which you needed and have read the project and can do this work but need to discuss in detail before start the work. let me know when can we discuss . Relevant Skills and Experience MySQL, PHP, XML Proposed Milestones £250 GBP - First milestone
£250 GBP in 6 days
4.9 (371 reviews)
8.0
8.0
User Avatar
On time and On budget I can do all what you want .... I did 311 projects with a rate of 5/5 .... please check https://www.freelancer.com/u/tarekahmed.html Relevant Skills and Experience I have a Professional team for programming PHP Laravel framework,chat systems,webcam chat, WordPress, Jquery,Nodejs,Anjular js,Mobile Applications and Flash Proposed Milestones £150 GBP - Final
£150 GBP in 3 days
5.0 (146 reviews)
7.7
7.7
User Avatar
Hi, We are excited to see you on our profile. 3iLogics is a leading developer of Mobile Applications ( Native & Hybrid), Multi-player Games (Unity 3D) and Responsive Websites (Open Source, PHP, ASP ) for all popular smartphones, tablets. Since 2007, we've finished 3200+ projects and we've built an impressive portfolio which is constantly growing. Specialties: We work with a wide variety of technical expertise from an HTML page to major Enterprise Solution. -360-degree approach (Consulting) -Web solutions (SaaS, IoT, etc.) -iOS/Android apps -TV apps (Roku, Apple TV, etc.) -Cross-platform apps (PhoneGap) -API Integration -Game Development & Animation ----Service Guarantee------ *24*7 hours live support. *Free of cost technical support for lifetime. *Satisfaction guarantee otherwise we will refund. *No charges for deployment. I assure that you would be happy to choose us as our mission is to build the long-term relationship. We are just a click away to help you. Best regards, 3iLogics
£80 GBP in 3 days
4.6 (190 reviews)
7.0
7.0
User Avatar
PHP Development Relevant Skills and Experience I am good in MySQL, PHP, XML Proposed Milestones £200 GBP - Cost
£200 GBP in 3 days
4.4 (118 reviews)
7.5
7.5
User Avatar
Hi, I can start immediately and develop the XML object into the database. I have done similar kind before and can develop the class function exactly as per your requirement. Relevant Skills and Experience XML, Data Scraping, PHP, OOPS, mySQL Proposed Milestones £200 GBP - Completion
£200 GBP in 1 day
5.0 (112 reviews)
6.8
6.8
User Avatar
A proposal has not yet been provided
£165 GBP in 8 days
4.9 (319 reviews)
6.8
6.8
User Avatar
Hi, I can create a PHP script that will take xml file path, node name, and table name as input and insert records in db. I can complete this in 2 days Relevant Skills and Experience I have expertise in PHP, HTML, Wordpress, CSS, MySQL, JS. With 5+ years of experience in web development, I believe that I am a perfect candidate for your requirements. Proposed Milestones £222 GBP - PHP script
£222 GBP in 2 days
5.0 (64 reviews)
6.3
6.3
User Avatar
I can definitely help you with your requirements. I am a full time developer working "8 hours a day" 40 hours per week. Relevant Skills and Experience MySQL, PHP, XML Proposed Milestones £150 GBP - milestone
£150 GBP in 8 days
4.9 (75 reviews)
6.4
6.4
User Avatar
Hello Sir, I checked your requirement and i can do that can you please contact me so that we can discuss further. Relevant Skills and Experience We are a team of 45 persons including developers and designers and all having 5-15 years of experience and till now we have developed 3500+ websites and software and 535+ applications. Proposed Milestones £111 GBP - milestone Please contact us back so that we can completely understand your requirements
£111 GBP in 3 days
4.8 (61 reviews)
6.2
6.2
User Avatar
php Relevant Skills and Experience php Proposed Milestones £222 GBP - work
£222 GBP in 10 days
4.7 (118 reviews)
6.5
6.5
User Avatar
Hello! my name is Viktor. We are IT Company «Webin». We provide website design and web and app development services for organizations, public and government institutions, company or private web-pages. We got acquainted with Your description of the task, our devs can start the work on Your website as soon as You need. We have gained years of experience and expertise working in CMS(Wordpress, Drupal, OpenCart, MoDx), Mockup Designs, Template Customizations, PHP, php-frameworks(Yii/Yii2,laravel), Software Architecture, JavaScript, jQuery, HTML5, CSS3 and Responsive. Our team specialized on developing from the simplest website to the most complex web-based internet applications, electronic businesses, corporate portals and social network services. Now, we are ready to start working on your project. However, we are looking forward to hear from you the detailed descriptions of the task. We are glad to chat with You and discuss all in details. Contact us and we will reply immediately. Waiting for Your reply! With regards, Webin team
£136 GBP in 4 days
4.9 (22 reviews)
5.7
5.7
User Avatar
I am expert in Mysql,XML Relevant Skills and Experience I have three years of experience in Wordpress, Opencart ,Magento, Prestashop, Zencart, Wordpress, Javascript ,php,mysql. Proposed Milestones £55 GBP - 1
£55 GBP in 3 days
4.7 (74 reviews)
5.5
5.5
User Avatar
Hello! Your instructions are rather clear, so I am ready to do the job. As for me, I am professional Web Developer and co-owner of a web-development team with 17 years experience in Website Development and . We can build and support highly Professional Website of any complexity. Feel free to contact me and we will discuss details.
£242 GBP in 2 days
4.1 (12 reviews)
6.0
6.0
User Avatar
fully satisfaction with the solution to your problem Relevant Skills and Experience I'm a web developer with 7 years experience in PHP, MySQL, CSS3, HTML5 and deep knowledge WordPress, WP plugins, expertise in the 3rd party API as Facebook, Twitter, Google API Proposed Milestones £150 GBP - milestone
£150 GBP in 3 days
4.5 (28 reviews)
5.1
5.1
User Avatar
Hi, Pinkcity Solutions is an IT based company located in Jaipur, Rajasthan, India. The company is serving from last 4 years in the Web, Mobile, Graphic and SEO development work. We are complete team of professionals looking to server in the following fields: 1. Website Branding that includes -- Logo design, -- Brochure, -- Business card design 2. Website Design: -- Mockup designing -- PSD designs -- PSD into HTML5 conversion -- Custom WordPress design 3. Website and mobile apps Development: -- Core PHP -- Framework: CodeIgniter, CakePHP, Yii, Laravel -- CMS based: WordPress, Magento, Shopify, Big Commerce -- E-commerce sites using Woo-Commerce and custom PHP -- Payment Gateway Integration like Stripe, Braintree, PayPal (recurring subscription) -- iOS and Android apps (Native as well Hybrid) 4. SEO, SMM, Digital Marketing Please feel free to go through our profile and contact us for any further information you may require. We will look forward working with you. Best regards, Pinkcity Solutions
£124 GBP in 3 days
4.6 (27 reviews)
5.2
5.2
User Avatar
Hello, I understood your job completely and can complete it in next 24hrs. Please contact me so that i can start on it. Thanks Relevant Skills and Experience php,mysql,xml Proposed Milestones £166 GBP - Complete Task
£111 GBP in 2 days
4.9 (24 reviews)
4.6
4.6

About the client

Flag of UNITED KINGDOM
Cheltenham, United Kingdom
5.0
2
Payment method verified
Member since Jun 27, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.