Read any Excel File using PHPExcel in PHP

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

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

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

    Thanks friend, well explained, thanks for zooming in on the code, it's well readable, thanks.

  • @mardocheegovesse9520
    @mardocheegovesse9520 Год назад +1

    For the fatal error concerning string.php change {} to []
    Concerning the error of default .... Change the line 82 To this line } elseif (0 === strpos($pValue, '=') && strlen($pValue) > 1) {

  • @lungten7673
    @lungten7673 2 года назад +2

    Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\Classes\PHPExcel\Shared\String.php on line 526

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

      i have the same error

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

      downgrade your php version, i am using mamp which show me 2 version of php to select, in v8 getting same problem but switching to v7 works fine

    • @SuperBlackboy2
      @SuperBlackboy2 2 года назад +1

      there's only a few of those errors. I just went through and changed every instance of a {} to []. That should fix it and not take too long.

    • @carlos.rdveloz
      @carlos.rdveloz 2 года назад

      As ImperialN17 said, just go to string.php file and change all $str{$i} to $str[$i] in every lines where the error is shown

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

    excelent video, congratulations!

  • @raashidvz5100
    @raashidvz5100 18 дней назад

    Sir this is not working in latest version of php , can you please do a video how to do it in updated version🙏🙏🙏

  • @JitendraRajput-yo1ds
    @JitendraRajput-yo1ds 7 месяцев назад

    Sir date not read proper manner it was converted into strings so I want to date as same formate how can be possible

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

    what if I want to add a file upload button to read excel files?
    sorry if my english is bad

  • @Производственнаягимнастика

    How to import if cells are merged in the file?

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

    How if there are any sheets in one file?

  • @raashidvz5100
    @raashidvz5100 Месяц назад

    Fatal error: Uncaught Error: Class "ZipArchive" not found in C:\xampp\htdocs\AMS\practice\Classes\PHPExcel\Reader\Excel2007.php:85 Stack trace: #0 C:\xampp\htdocs\AMS\practice\Classes\PHPExcel\IOFactory.php(269): PHPExcel_Reader_Excel2007->canRead('Book1.xlsx') #1 C:\xampp\htdocs\AMS\practice
    eadExcel.php(19): PHPExcel_IOFactory::createReaderForFile('Book1.xlsx') #2 {main} thrown in C:\xampp\htdocs\AMS\practice\Classes\PHPExcel\Reader\Excel2007.php on line 85
    Sir ,can you please help me to correct this error...........

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

    Thank you

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

    thank you!

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

    Does this work online on sites like 000Webhost?

  • @damiano.447
    @damiano.447 3 года назад

    bro, how can I print a specific range of rows?

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

    1 000 000$ Man!

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

    Is this works for php 7 version? ?

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

    Hlo sir, iam getting error in PHPExcel\shared\string.php

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

      Sir plzz give solution for this it is soo importent😞😞

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

      Sir plzzzzzz sir

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

      @@rv_channel8665 go to that file and then change the {} to []

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

      @@jaysoncainglet8456 tq sir for ur ripley, but iam changed and I got output alredy but it was soo good sir tq fir sharing a such of information

  • @marthajsayers8146
    @marthajsayers8146 2 года назад +1

    Thank you! EXCELLENT video and you explained it very well! Prayers for you!!

  • @l._.mr.vedant._.l
    @l._.mr.vedant._.l 11 месяцев назад

    Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\quiz\Classes\PHPExcel\Shared\String.php on line 526

  • @ebusiness7230
    @ebusiness7230 2 года назад +1

    thank you man , you saved my project, i will pray for you

  • @gauripawar4808
    @gauripawar4808 9 месяцев назад

    Sir I am getting the error $excelReader is undefined variable. Sir please help me what to do

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

    Hi, gerat video. However phpexcel is 'dead' and phpspreadsheet requires using composer. I don't have composer. Can I install phpsspreadsheet by hand?

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

    Please make us video
    How to see mysql username or password or datebase on siteground please thanks for your all vidoes

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

    What if an excel file with formulas? Can use an excel with formulas does the formulas work with the browser?

  • @AkshayPawar-uu8kf
    @AkshayPawar-uu8kf 2 года назад

    very informative, but if we change the value of excel will this automatically get updated to php and website ??

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

    I cudn't read a single field 😣 ....plz help me out

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

    is possible excel to dat file conversion using php

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

    unfortunately the "PHPExcel.php" does not work anymore with all the new Versions because of following Error: :D

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

      Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\verlauf\probe\Classes\PHPExcel\Shared\String.php on line 526

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

    merci mais il y a un souci pour lire les dates ca provoque des erreurs

  • @sivakumar-uf3pv
    @sivakumar-uf3pv 2 года назад

    Super & thanks

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

    Thanks friend

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

    Sir I am looking for a way I can send a message from excel by looping through the entire excel and replace a string with the actual value like
    Dear {{NAME}}, please pay your balance of {{AMOUNT}}
    Where NAME and AMOUNT is the 1st row. I want the message to contain the actual value of the cell eg
    Dear JOHN, please pay your balance of $1000

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

      Programmatically u can do that, what type of message u need to send. U mean sms?
      And from where does u fetch name and amount?

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

      @@jinujawad I am fetching everything from excel, I have a form textarea where someone writes a message with the merge tags i.e the tcolumn headings, my work is to loop through the entire excel and replace my column headings inside the textarea with exact column values then insert them in a db

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

    Thank you

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

    Does it read images too?

  • @مسلمرفاعي-ه6ك
    @مسلمرفاعي-ه6ك 2 года назад

    Excellent

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

    very good video, thanks !

  • @ВикаБаринова-п2ы
    @ВикаБаринова-п2ы 4 года назад

    0:36

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

    Thank you for your excellent video! just follow step by step and its working perfectly. Keep up the good work