How to Import Data from Excel/CSV File into MySql DB in PHP using PhpSpreadsheet | Insert & Update

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 64

  • @ngongo934
    @ngongo934 2 роки тому +2

    i am from VietNam and i thank you so much

  • @mdjabedbhuiyan
    @mdjabedbhuiyan 4 роки тому +1

    I complete your all play list tutorial of funda of web it english.

  • @mdjabedbhuiyan
    @mdjabedbhuiyan 4 роки тому +3

    Your tutorial is so easy to understand. Thanks

    • @webeloperuz1669
      @webeloperuz1669 2 роки тому

      i don't know indian language this is video very hard for me

    • @FundaofWebITHindi
      @FundaofWebITHindi  2 роки тому

      You can try with english language:
      ua-cam.com/video/LX5KiK7pBmE/v-deo.html

  • @mdjabedbhuiyan
    @mdjabedbhuiyan 4 роки тому +1

    Thanks for create my required tutorial.

  • @oumasstabdallah3424
    @oumasstabdallah3424 Рік тому

    Thank you brother. you did will actually

  • @margaretkanganga4882
    @margaretkanganga4882 Рік тому


    Hi, very good tutorial

  • @smarter_by_bit9346
    @smarter_by_bit9346 3 роки тому

    aap to mano bhagvaan kaa rup hi ho.......shukriyaa bhai

  • @mdjabedbhuiyan
    @mdjabedbhuiyan 4 роки тому

    You are real hero. Thanks

  • @johnroninocarpio6239
    @johnroninocarpio6239 3 роки тому

    is the data will not showing up in the main homepage of the website?

  • @StatusWorld-pz8ld
    @StatusWorld-pz8ld Рік тому

    Sir after installing pho spreadsheet its redirecting to index.php if i remove spreadsheet files its works properly, can i know how to fix it

  • @VishwasKale51
    @VishwasKale51 2 роки тому

    xls file format not getting upload, it displaying special char in DB

  • @vishnu-h5q
    @vishnu-h5q Місяць тому

    Hello sir I have a question when you write any name in hindi language it will look like this ???? ?? What is the solution of this

  • @trinhthanhhiep9195
    @trinhthanhhiep9195 3 роки тому

    What version of xampp are you using?

  • @wplearners8480
    @wplearners8480 10 місяців тому

    that's very nice but how can we handle date cell in php?

  • @neeraj0511
    @neeraj0511 3 роки тому

    hello sir
    composer install krne ke bad v link se vendor folder create nhi ho rha h
    sir, kia krna hoga plz help
    sir plz share mail Id for ask Question.

  • @bibhanshuyadav
    @bibhanshuyadav Рік тому

    I am getting some error like this:
    Undefined type of phpspreadsheet\IOFactory....
    Need help

  • @the_power_ride
    @the_power_ride 3 роки тому

    Isme index.php file ka. Code kahan se le. Skte hn.... Please reply?

  • @akila9168
    @akila9168 2 роки тому

    I have product excel data along with images. How to import images from an excel file?

  • @1149binu
    @1149binu 3 роки тому

    Sir,If the excel have 2000rows will it work?

  • @Shopnomoi
    @Shopnomoi 2 роки тому

    Hi, very good tutorial
    I would like to insert multiple tables from the csv fie
    Like some data insert table one, other data insert table 2
    how to do that, Could help me?

  • @swapnilpatil4994
    @swapnilpatil4994 2 роки тому

    How give mobile validation in import

  • @mdjabedbhuiyan
    @mdjabedbhuiyan 4 роки тому

    I want to import some student data from csv file but some row column field select form select option. If see an video tutorial. Thanks

    • @FundaofWebITHindi
      @FundaofWebITHindi  4 роки тому +1

      If you have any suggestion, please do let me know.

    • @mdjabedbhuiyan
      @mdjabedbhuiyan 4 роки тому

      Branch option, shift option, version option, session option, group option, class oprion, section option, student type option, those option value take from html form and other some info take csv file. How can i import multiple row in mysqli database. Thanks

    • @FundaofWebITHindi
      @FundaofWebITHindi  4 роки тому

      Can you be little more clear. What is required with small explanation as example.

  • @surajopagrahari877
    @surajopagrahari877 3 роки тому

    How to increase limit data import. actually we have face a problem it's only 2000 data import but we want more thousands data import how could possible this ?

  • @ashishnath9121
    @ashishnath9121 2 роки тому

    How to create table instead of insert or update here?

  • @ammar-techprofessionalserv4423
    @ammar-techprofessionalserv4423 2 роки тому +1

    Please I need the source code for study

  • @ashinsiby2814
    @ashinsiby2814 3 роки тому

    How to install composer??

  • @rajeshtewari6059
    @rajeshtewari6059 2 роки тому

    How to import date from excel

  • @msa_1439
    @msa_1439 3 роки тому +1

    hello Bro I am From #Somaliland, English Version of This Lecture is Very Important Please Could you do it for us, please???

  • @pratikbhuva4346
    @pratikbhuva4346 3 роки тому

    Thanks. very easy to understand. how to start reading from second row? as excel files may have headers

    • @kushgada2133
      @kushgada2133 3 роки тому

      Did you get to know how to do that ? If yes please guide me

  • @trinhthanhhiep9195
    @trinhthanhhiep9195 3 роки тому

    Your requirements could not be resolved to an installable set of packages.
    Problem 1
    - Root composer.json requires phpoffice/phpspreadsheet ^1.18 -> satisfiable by phpoffice/phpspreadsheet[1.18.0].
    - phpoffice/phpspreadsheet 1.18.0 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
    To enable extensions, verify that they are enabled in your .ini files:
    - C:\xampp\php\php.ini
    You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
    Installation failed, deleting ./composer.json.
    can you help me? please!

  • @snehadutta2664
    @snehadutta2664 3 роки тому

    how to download composer

  • @bejoapp
    @bejoapp 3 роки тому

    Can you share the source remover?

  • @debashishbasu1505
    @debashishbasu1505 3 роки тому

    how to remove excel header??

  • @franklingonzalezsierra217
    @franklingonzalezsierra217 3 роки тому

    Hola, no me funciona. Me puede compartir el código?

  • @enotechworld112
    @enotechworld112 2 роки тому

    Fatal error: Uncaught Error: Class "PhpOffice\PhpSpreadsheet\IOFactory" not found in D:\xampp\htdocs\excel_project\upload_sheet.php:19 Stack trace: #0 {main} thrown in D:\xampp\htdocs\excel_project\upload_sheet.php on line 19
    how to fix this error?

  • @denchaisingmahan
    @denchaisingmahan 4 роки тому

    How to Import Data from PDF and Word

  • @msa_1439
    @msa_1439 3 роки тому +1

    How to Skip Header from Excel Spreadsheet While Uploading to MySQL

    • @santoshkp9254
      @santoshkp9254 3 роки тому +2

      You can just use a variable i to iterate over all the rows and then use a condition if i==0 then continue; this will skip your header row hopefully.

    • @debashishbasu1505
      @debashishbasu1505 3 роки тому

      @@santoshkp9254 please share code

    • @santoshkp9254
      @santoshkp9254 3 роки тому +2

      @@debashishbasu1505 I would have provided you the code but it very simple you just have to use if($i==0) { continue; } this would surely do the work.

    • @debashishbasu1505
      @debashishbasu1505 3 роки тому

      @@santoshkp9254 where it's put this code
      After foreach??

    • @santoshkp9254
      @santoshkp9254 3 роки тому

      @@debashishbasu1505 just after your loop. Like
      foreach(your expression){
      if($i==0){ continue; }
      // then wrtite all your logic
      }

  • @Telugufacts228
    @Telugufacts228 11 місяців тому

    if you that code with you please share it guys

  • @markevantorremocha2664
    @markevantorremocha2664 Рік тому

    file of the code pleaseee i really want this

  • @nishantnagdeve5431
    @nishantnagdeve5431 3 роки тому

    i want to ignore first row of excel sheet..

  • @shreeharshpandey1055
    @shreeharshpandey1055 3 роки тому +1

    Sir, when I am clicking on submit button it's redirecting to code.php page but over there no data is visible and data is not being imported too in the database.(No error is showing on the page of code.php)

    • @almosawi32
      @almosawi32 3 роки тому

      Fatal error: Uncaught Error: Class 'PhpOffice\PhpSpreadsheet\IOFactory ... return nothing because not correct composer, php zip extension installed in your server

  • @debashishbasu1505
    @debashishbasu1505 3 роки тому

    Undefined index: file

  • @debashishbasu1505
    @debashishbasu1505 3 роки тому

    i want to ignore first row of excel sheet..