Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Browse by Category
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

    Small PHP Script/Code to import CSV file into two arrays

    - or -

    Post a project like this
    1533
    €50(approx. $54)
    • Posted: 4 years ago
    • Proposals: 7
    • Remote
    • #2304828
    • Awarded
    Jetze Hendrik S.
    Jetze Hendrik S.
    Senior Software Engineer and Data Scientist
    Switzerland Bern
    Kiragu M.
    Kiragu M.
    Web developer
    Kenya Nairobi
    Jagjeet S.
    Jagjeet S.
    18 years expert in PHP, MySQL, HTML, CSS, JavaScript, jQuery, Ajax, Bootstrap, Chrome Extension, VB, VBA, AutIT Programming & Website Data Scraping
    India Ambala
    Techvasu S.
    Techvasu S.
    Software Solution Provider
    Top Endorsed
    India Junagadh
    Encourage Infotech
    Encourage Infotech
    Founder At Encourage Infotech
    Top Endorsed
    Norway Vuorea
    Hamza M.
    Hamza M.
    Photoshop Expert, Certified Translator, Graphics Designer, Programmer
    Top Endorsed
    Pakistan Islamabad
    Aditya R.
    Aditya R.
    Data Analyst/Scientist
    Germany Lauf an der Pegnitz
    1875661194316232476430461125040824710242559974
    Jetze Hendrik S.
    Kiragu M.Jagjeet S.Techvasu S.Encourage Infotech + 2 others have already sent a proposal.
    • 1
    • 1

    Description

    Experience Level: Intermediate
    Estimated project duration: 1 day or less
    I need a PHP Script that imports a CSV file with 2 columns and header row into 2 arrays.

    The csv file is delimited with semicolon, example:

    This is how the CSV looks like:

    "City";"Alternative"
    "Aachen";"Köln"
    "Augsburg";"München"
    "Bad Gögging";"Bad Gögging"
    "Berlin";"Berlin"
    "Bielefeld";"Köln"
    "Bochum";"Köln"

    I need 2 arrays with the values from the CSV file:

    Array1 named "City" with the data from first column.
    and Array1 named "Alternative" with data from second column
    Eduard K.
    Eduard K.
    100% (12)
    Projects Completed
    11
    Freelancers worked with
    9
    Projects awarded
    53%
    Last project
    5 Jul 2021
    Spain

    New Proposal

    Login to your account and send a proposal now to get this project.

    Log in

    Clarification Board Ask a Question

      There are no clarification messages.
    1533
    €50(approx. $54)

    - or -

    Post a project like this
    Eduard K.
    Eduard K.
    100% (12)
    Projects Completed
    11
    Freelancers worked with
    9
    Projects awarded
    53%
    Last project
    5 Jul 2021
    Spain

    Related project Searches


    comma separated values(csv) PHP programming language

    Product

    • About
    • Team
    • Careers

    Support

    • How it works
    • Trust & Safety
    • Help Centre

    Discover

    • GuidesStoriesNews

    Resources

    • Customer Stories
    • Business Cost Calculator
    • Startup Cities

    Browse

    • Freelance Services
    • Freelance Services By Country
    • Freelance Skills
    • Terms
    • Privacy
    • Sitemap
    • Company Details
    • © 2023 People Per Hour Ltd
    We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
    Cookie Settings
    Accept All Cookies