Insert CSV File into mySQL Database using php

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024

Комментарии • 43

  • @CodesandTricks
    @CodesandTricks  4 года назад +1

    Video for excel sheet Importing - ruclips.net/video/9ijUxsttphk/видео.html

    • @otisluciano6368
      @otisluciano6368 3 года назад

      i know I am pretty randomly asking but do anybody know of a good website to watch new tv shows online?

    • @walterlucca4523
      @walterlucca4523 3 года назад

      @Otis Luciano Flixportal :)

    • @otisluciano6368
      @otisluciano6368 3 года назад

      @Walter Lucca thank you, signed up and it seems like they got a lot of movies there :) Appreciate it!

    • @walterlucca4523
      @walterlucca4523 3 года назад

      @Otis Luciano happy to help :)

  • @manum5117
    @manum5117 3 года назад +1

    It's really very very useful... thankyou 😁

    • @cesarl.c.847
      @cesarl.c.847 3 года назад

      Hi Manu. After view this great video, maybe to see LoaderDataPlus tool. This tool import flat files and export to MYSQL, MARIADB sintax and other DMBS, also parsing and detect data type.

  • @mawiramike2346
    @mawiramike2346 3 года назад

    GRACIAS

  • @pranalichanduka8404
    @pranalichanduka8404 2 года назад

    First of all excellent video...but i am facing some issue...i used the same code, but it is not running ...my query is printing, but table is not getting created..please help

  • @creatorkannan675
    @creatorkannan675 2 года назад

    Hey I need the 2 file php codes. Can you pls share with me

  • @bankthanawat3326
    @bankthanawat3326 4 года назад

    thank you somuch

  • @jagadeeshkadambil3061
    @jagadeeshkadambil3061 5 лет назад

    Thanks you so much !!..

  • @VirusGamingz
    @VirusGamingz Год назад

    Hello, This is working perfectly local server. But not working Live server(CPanel). What is the reason behind that?

  • @UsmanKhan-cc3yz
    @UsmanKhan-cc3yz 4 года назад

    Hi. I have a csv file having 4 lac+ records in it. I want to add these records in mysql database with minimum time like in 4-5 minutes using laravel. Kindly tell me what exact i have to do with. I have done many methods and all takes too much time to insert data into DB.

  • @shubhichauhan7935
    @shubhichauhan7935 6 лет назад +3

    Sir can you upload the link for the source code ?

  • @dontbeafraid5313
    @dontbeafraid5313 5 лет назад +1

    Thanks for the tutorial. It really works.
    By the way, if you don't mind me asking for help. If I want to always update the data in database do I need to upload the csv everyday?
    Because I am selling products to clients so I need to store my data.
    Right now my forms are in PDF then convert to excel or csv then to database. Do you have any shortcuts like PDF data entry directly goes to Mysql? And if I want to retrieve data i can also do it directly to pdf form?

  • @greentechnology7346
    @greentechnology7346 5 лет назад +2

    Good job! More videos please on PHP! Thanks!

  • @md.abdulmannan6035
    @md.abdulmannan6035 2 года назад

    Thank you very much for your real video. I search many videos about this topic in youtube but maximum are not workable. Thanks a lot again

  • @missunyh520
    @missunyh520 5 лет назад +2

    Thanks for you tutorial! Really helpful!

  • @jeandirel5788
    @jeandirel5788 2 года назад

    great,

  • @motivateme5689
    @motivateme5689 5 лет назад +1

    Hey this is great, thanks a lot, actually, you're good at teaching, you go slow and makes it easy to understand you. Cheers!

  • @linchuantian623
    @linchuantian623 4 года назад

    I am sure I type the exactly same as you did but I got this error what is happening?
    Notice: Undefined index: csvfile in C:\xampp\htdocs\insert.php on line 6

  • @mrv3173
    @mrv3173 3 года назад

    how do you prevent the column names from inserting into the database? Thx

  • @Fitrieiei
    @Fitrieiei 3 года назад

    how if we not using localhost but using real server? is it works?

  • @pramodyadeshan
    @pramodyadeshan 6 лет назад +1

    100% working..Thank you So much.

  • @wisdom1223
    @wisdom1223 5 лет назад +1

    This video makes surprise me. Thanks so much

  • @nsudhir_here
    @nsudhir_here 4 года назад +1

    Please make a video on importing excel file in mysql php database.

    • @CodesandTricks
      @CodesandTricks  4 года назад +1

      ruclips.net/video/9ijUxsttphk/видео.html

    • @nsudhir_here
      @nsudhir_here 4 года назад +1

      @@CodesandTricks thank you

  • @ronirusmayadi9253
    @ronirusmayadi9253 4 года назад

    how to import do not use the input form, so automatically import the csv dump to mysql file ??

  • @randomnet_tv
    @randomnet_tv 7 лет назад +1

    Thanks so much. i love this tutorials. I would to get one on a way where the table columns is gotten dynamically from the csv file without you specifying them in code

  • @jimhadfield8882
    @jimhadfield8882 4 года назад

    This helpful, but where did the browse button come from?

  • @PawankumarManpuri
    @PawankumarManpuri 3 года назад

    Thanks buddy it worked !

  • @MarkGoldfain
    @MarkGoldfain 3 года назад

    This was fantastic. Thank you for posting it.

  • @rohitrawat2071
    @rohitrawat2071 4 года назад

    hey nice video can you tell me what is cont[ ] here as it is showing that undefined offset

    • @CodesandTricks
      @CodesandTricks  4 года назад +1

      it is just the cell of the CSV. please check with your CSV column. if you having 2 columns on your CSV file, then use only $cont[0],$cont[1]. if you looking for $cont[2]. it will show you an error.

  • @akhileshnair8548
    @akhileshnair8548 5 лет назад

    Thank you so much..!!! It worked ..!!

  • @yudadesela4781
    @yudadesela4781 5 лет назад +1

    الْحَمْدُ للَّهِ رَبِّ الْعَالَمِيْن thanks Cody my Indian mate

  • @simonkariuki4886
    @simonkariuki4886 5 лет назад

    The below is the error message am getting, please help sir.........Fatal error: Uncaught Error: Call to undefined function myqsli_connect() in C:\xampp\htdocs\login\tuts\insert.php:2 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\tuts\insert.php on line 2

    • @DaszekGT
      @DaszekGT 4 года назад +1

      myqsli_connect() should be mysqli_connect() :)

  • @linchuantian623
    @linchuantian623 4 года назад

    Anyone has same problem?