Import Data From Excel To MySQL Using PHP | PHP MySQL Excel Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 121

  • @qasimsayyed9090
    @qasimsayyed9090 ปีที่แล้ว +3

    Very helpful I am Searching for this concept 😃

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Glad it was helpful!

  • @asliinfotech9342
    @asliinfotech9342 10 หลายเดือนก่อน +2

    Thanks bro. Keep up doing such wonderful tutorials.
    Thanks a lot!!!

    • @DavidGTech
      @DavidGTech  10 หลายเดือนก่อน +1

      Thanks, will do!

  • @PruebaWeb-k1g
    @PruebaWeb-k1g 8 หลายเดือนก่อน +3

    Amigo, buenas, una pregunta, hay alguna manera de que antes de presionar el boton "Import" se vean reflejados los datos del excel en la tabla? digo, como para que se vea lo que vas a importar como segunda capa de seguridad para no subir una mala informacion, ya que ahí muestra la infomacion en la tabla, pero despues de haberla importado¿? gracias.

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hola @user-qz7hd6rq2q,
      Sí, es posible mostrar los datos del archivo Excel en la tabla antes de presionar el botón "Importar". Puedes cargar el archivo Excel en el frontend y mostrar los datos en una tabla como una vista previa para verificar antes de importarlos. Esto proporciona una capa adicional de seguridad para asegurar que no se suba información incorrecta. ¡Gracias por tu pregunta! 😊

  • @srivaishnaviganesan286
    @srivaishnaviganesan286 2 หลายเดือนก่อน

    Thank you so much for this code, it really helped.

  • @nwstep1184
    @nwstep1184 2 ปีที่แล้ว +3

    Thanks it's really very helpful

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      You're welcome!!! Thanks for watching...

  • @pritamkarmakar4100
    @pritamkarmakar4100 ปีที่แล้ว +3

    Thank you sir

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว +1

      You're very welcome! Thanks for watching!

  • @nonopanzu1193
    @nonopanzu1193 ปีที่แล้ว +2

    Hi David. There are 62 issues open in your code as per GitHub and not yet solved.
    Do you still maintain it?

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Could you please explain it more? I don't really understand what you mean

  • @suhadkanaan7598
    @suhadkanaan7598 ปีที่แล้ว +1

    hello ..
    Thanks for helping video..
    I have a problem when upload Excel file to database..the arabic letters turns to unclear symbols..
    how to solve this problem please???

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Hello, thanks for watching.
      It sounds like you are experiencing an issue with character encoding when uploading an Excel file with Arabic text to a database.
      Check the character encoding settings in your database: Make sure that your database is set up to handle Arabic characters correctly. UTF-8 is the most commonly used character encoding for international text, and should be supported by most databases. Check your database documentation to ensure that it is configured correctly.

  • @skiiiworld6205
    @skiiiworld6205 4 หลายเดือนก่อน

    this works without installing composer into CMD?

    • @DavidGTech
      @DavidGTech  4 หลายเดือนก่อน

      Yes, this works without installing composer into CMD!

  • @MasterMis-q3t
    @MasterMis-q3t 8 หลายเดือนก่อน +1

    Hi sir i have some problem, data transfer from excel file to database not working, but it stores excel file in the upload folder. please help

    • @zigijutemari
      @zigijutemari 8 หลายเดือนก่อน +1

      make sure if you have any spelling or other error @7:17 at line 48 to 51

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน +1

      Hi @user-nv5xs8lg3w,
      Hi, if the data transfer from the Excel file to the database isn't working but the file is stored in the upload folder, double-check your code that reads and processes the Excel file. Make sure the data is being parsed correctly and the database insert statements are executed properly. Let me know if you need more specific help! 😊

  • @strangeguyoftheinternet151
    @strangeguyoftheinternet151 ปีที่แล้ว +1

    Hi, why does it not work when it is online and works fine when its on local machine? is it for offline use only?

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Hi, yes it does work online

  • @kirana.g581
    @kirana.g581 10 หลายเดือนก่อน +1

    Hi data transfer from excel file to database not working, but it stores excel file in the upload folder. Do we need to install the composer in the folder or any other installation needed for successful transfer of data. At present there is no error. While inspecting it shows internal server error. Need help....

    • @anonymous-ei2pk
      @anonymous-ei2pk 9 หลายเดือนก่อน

      So this video is not recommendable for newbie learning at webdev.?

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน +1

      Hi @kirana.g581! If your data transfer is not working but the file uploads correctly, there might be an issue with the script processing the Excel file. Ensure all necessary libraries are installed, such as PHPExcel or PhpSpreadsheet, and verify your server configuration. An internal server error often indicates a server-side issue, so checking your server logs can provide more details. If Composer is needed for your libraries, make sure all dependencies are installed correctly. Let me know if you need further assistance!

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน +1

      Hi @anonymous-ei2pk! This video can still be useful for newbies, but it may require some additional troubleshooting and understanding of server configurations and library installations. If you're new to web development, don't get discouraged. These issues are part of the learning process, and asking for help, like @kirana.g581 did, is a great way to learn and improve! If you have specific questions, feel free to ask!

  • @ManulBandara
    @ManulBandara 9 หลายเดือนก่อน +1

    Nice video

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @ManulBandara! Thanks! 😊 Glad you enjoyed the video! 🙌

  • @audday6
    @audday6 2 ปีที่แล้ว +1

    kak kalo import ke tabel yangg sudah ada dan importnya menggunakan modal gimana kak

  • @jeffrydelgado5334
    @jeffrydelgado5334 2 ปีที่แล้ว +1

    New subscriber here! Your tutorials are great and it really helps me a lot in my current project. Regarding this tutorial, I just want to ask if there's a function that will restrict the data from inserting into the database if there's already a data that has the same value in the new excel file you want to import. Thank you!

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว +1

      Wow, thank you...
      Yeah, there is.
      stackoverflow.com/questions/19714341/prevent-duplicate-records-to-a-table-using-php

    • @krishnamoorthyaachari6220
      @krishnamoorthyaachari6220 2 ปีที่แล้ว +1

      i am unable to get the source code

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      The source code is in the description of video, thank you for watching!

  • @yusufilyas1952
    @yusufilyas1952 2 ปีที่แล้ว +1

    importnya saya gk berhasil kak
    php versi 7.4
    apa pengaruh versi phpnya

  • @oko.b.3085
    @oko.b.3085 9 หลายเดือนก่อน +1

    script pushes nothing to database when importing .xls file. when importing .xlsx all works good. what problem can be here?

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @oko.b.3085! It sounds like the issue might be with how the script handles different file formats. Ensure your script supports both .xls and .xlsx formats. You might need to use different libraries or settings to handle .xls files correctly.

  • @bloodshotgamingff
    @bloodshotgamingff ปีที่แล้ว +1

    if suppose the excel is empty means so what does it means.......

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Maybe your codes that aren't fully correct or your Excel version that not supported

  • @jastinmagayon3128
    @jastinmagayon3128 7 หลายเดือนก่อน +1

    why the content of excel file dont show instead its a defaukt word etc. hope that you can notice thank you

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @jastinmagayon3128,
      If the content of your Excel file isn't showing correctly, it might be due to how the data is being read or displayed. Ensure you're using the correct library and methods to parse the Excel file. Let me know if you need more help! 😊

  • @MarekCzerepowicki
    @MarekCzerepowicki ปีที่แล้ว +1

    How read all sheets data from multiple sheets xlsx file?

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @MarekCzerepowicki! To read data from all sheets in a multi-sheet XLSX file, you can use a library like PHPExcel or PhpSpreadsheet. These libraries provide methods to loop through each sheet and extract data accordingly. If you need more specific instructions or an example, let me know!

  • @rimafilms3186
    @rimafilms3186 ปีที่แล้ว +1

    Thanks greate

  • @josefklufik5906
    @josefklufik5906 11 หลายเดือนก่อน

    Hi David, hi, I have a small problem, the code works correctly, only 15 empty rows are always uploaded to the database after any import. It's a weird problem. Thanks for the reply.

    • @josefklufik5906
      @josefklufik5906 11 หลายเดือนก่อน +1

      "require" must be together at the beginning, otherwise the import into the DB is not functional

    • @DavidGTech
      @DavidGTech  11 หลายเดือนก่อน

      Yes, correct

  • @samuelkim2340
    @samuelkim2340 2 ปีที่แล้ว

    Thank you for your help

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      You're welcome! Thanks for watching...

  • @thihaui
    @thihaui ปีที่แล้ว +1

    I can't upload excel to sql but upload history is saved. Please help me with this problem

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      I'm sorry to hear that you're experiencing difficulties with uploading Excel files to SQL. Can you please provide me with some additional information about the issue? For example, what type of error message are you receiving? Also, have you checked to ensure that your Excel file is formatted correctly for SQL? Once I have more information, I will do my best to help you find a solution to this problem.

  • @MohamedAhmedH93
    @MohamedAhmedH93 ปีที่แล้ว

    Hello, Thanks for sharing but,
    When uploading no successfuly msg appair the page just reload and nothing happens, also the file save in uploaded files but its not uploaded to db
    can you fix it please ?

    • @DavidGTech
      @DavidGTech  11 หลายเดือนก่อน

      Hi @MohamedAhmedH93,
      I appreciate your feedback and I'm sorry to hear about the issues you're facing. Let's work together to troubleshoot and resolve these problems:
      - Success Message Display:
      Check if your success message is properly implemented in your PHP code. Ensure it's set to display when the upload and database insertion are successful.
      - File Upload to Database:
      Double-check the portion of your PHP code responsible for saving data to the database. Verify that all necessary fields are being properly populated.
      - Error Handling:
      Implement error handling in your PHP code to capture any potential issues during the upload process. Check for error messages that might provide insights into what's going wrong.
      - Database Connection:
      Confirm that your database connection is correctly configured. Ensure that there are no connection errors preventing the data from being stored in the database.
      - File Permissions:
      Ensure that the directory where your uploaded files are saved has the correct permissions to allow file writing.
      If the issue persists after checking these steps, consider sharing the relevant sections of your PHP code (excluding sensitive information) so I can take a closer look and provide more specific guidance.
      Feel free to provide more details, and we'll work together to fix this!

  • @afayyub5831
    @afayyub5831 2 ปีที่แล้ว +1

    gan,kalau input file XLS bisa kah?

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      Yeah, bisa

    • @afayyub5831
      @afayyub5831 2 ปีที่แล้ว +1

      @@DavidGTech gan ini pakai xlsx berhasil,ketika pakai file XLS berhasil masuk d folder uploads tp data base cm muncul kotak2 & tnd tny??,,knp ya gan?

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      Hmm iya sih, saya coba juga begitu, kayanya emang cuman bisa .xlsx saja yang versi excel terbaru

    • @MYusufSofiyawan
      @MYusufSofiyawan 6 หลายเดือนก่อน

      @@DavidGTech wkwkwk pantesan saya cari2 ga bisa

  • @qasimsayyed9090
    @qasimsayyed9090 ปีที่แล้ว +1

    Thanks 😊

  • @sopianamarlina9785
    @sopianamarlina9785 ปีที่แล้ว +1

    ka untuk versi 8.1.10 ini ga bisa ya, file excel readernya banyak error

    • @indahnovita_dewi
      @indahnovita_dewi 7 หลายเดือนก่อน +1

      Iyaa, mungkin ini untuk versi PHP 5 sma 7 kek nya kak, kalau di versi 5 bisa kak

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @sopianamarlina9785! Jika versi PHP 8.1.10 menyebabkan banyak error pada file Excel reader, pastikan Anda menggunakan versi terbaru dari library seperti PhpSpreadsheet yang kompatibel dengan PHP 8.1.10. Versi library yang lebih lama mungkin tidak sepenuhnya kompatibel dengan versi PHP yang lebih baru. Jika ada pertanyaan lebih lanjut, jangan ragu untuk bertanya!

  • @CikZai-c4m
    @CikZai-c4m 9 หลายเดือนก่อน

    Salam bro, i did everything as you teach on the video, unfortunately the file/data that submitted inti database is not success. There is no data uploaded after i press submit button. Please help me :(

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Wa alaikum assalam! It sounds like there might be an issue with the data submission process. Double-check your PHP script to ensure that it correctly processes the form data from the uploaded Excel file and inserts it into the MySQL database. Look for any potential errors or missing steps in your PHP code that could be causing the data not to upload successfully. If you need further assistance, feel free to share more details or specific parts of your code, and I'll do my best to help you troubleshoot and resolve the issue.

  • @024fiqifalah7
    @024fiqifalah7 2 ปีที่แล้ว +1

    bang mau tanya, pas saya upload kan data nya kok ada satu data yang hilang itu kenapa ya?
    padalan di table excel nya udah bener. mohon pencerahannya 🙏

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      Harusnya nggak kaya gitu sih, coba aja lagi dah

  • @sithanyak4151
    @sithanyak4151 9 หลายเดือนก่อน +1

    could you please provide this codeigniter code?

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @sithanyak4151! Unfortunately, I can't provide CodeIgniter code directly here, but you can adapt the PHP code to work within the CodeIgniter framework by following their documentation. If you need specific help, feel free to ask!

  • @VishwasKale51
    @VishwasKale51 ปีที่แล้ว

    xls format not getting upload - please suggest

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว +1

      - Check the file size: Some systems may have a limit on the file size that can be uploaded. Make sure your Excel file is within the acceptable file size limit.
      - Check the file type: Make sure that the file you are trying to upload is in the correct format. Sometimes the file extension might be incorrect, so try changing the file extension to .xlsx and see if it works.
      - Check the file name: Try renaming the file to something shorter and simpler, without any special characters or spaces.
      - Check for errors in your code: Make sure there are no errors in your code that could be preventing the file from being uploaded.
      - Try uploading a different Excel file: If you're still having trouble, try uploading a different Excel file to see if the issue is with the file itself or with your system.

  • @Cz-rg2sb
    @Cz-rg2sb 9 หลายเดือนก่อน

    Salam bro, I need help.. why data not appear in database after i press submit button? :(

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      @Cz-rg2sb
      Salam! It seems like there might be an issue with the data submission process. Make sure that your form is correctly configured to send data to the PHP script that processes the form. Check your PHP script for any errors that might prevent data from being inserted into the database. If you're still facing issues, feel free to ask for more specific help, and I'll do my best to assist you!

  • @pulaksingh5963
    @pulaksingh5963 ปีที่แล้ว

    in my mac its uploading the excel file to Uploads folder but sql query is not injecting the data to database
    ps: there is also no error

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว +1

      Thank you for reaching out and sharing your experience! It sounds like you've successfully uploaded the Excel file to the 'Uploads' folder, but you're facing an issue with the SQL query not injecting the data into the database.
      This kind of situation can have a few potential reasons, and I'm here to help you troubleshoot it. Here are a couple of steps you can take to identify and address the issue:
      - Check Error Messages: First, make sure to check for any error messages that PHP or MySQL might be generating. These messages can provide valuable insights into what's going wrong. You can enable error reporting in your PHP script or check the MySQL error logs.
      - Database Connection: Verify that your database connection is established correctly. Double-check the connection credentials, hostname, username, and password in your PHP code.
      - SQL Syntax: Review the SQL query you're using to inject the data into the database. Make sure the query is correctly structured and that the table name and column names match your database schema.
      - Data Format: Ensure that the data being extracted from the Excel file is in the expected format and matches the data types of the corresponding columns in your database table.
      - Escaping and Security: Be sure to properly escape and sanitize the data before injecting it into the SQL query. This helps prevent SQL injection vulnerabilities and ensures data integrity.
      - Permissions: Check the permissions of the 'Uploads' folder and make sure it's writable by the web server. Also, ensure that the MySQL user has the necessary permissions to insert data into the specified table.
      If you've reviewed these aspects and are still encountering issues, don't worry. Debugging can sometimes be a process of trial and error. Feel free to share more details about your code or any error messages you're encountering, and I'll do my best to assist you further. Remember, each setup can have its own nuances, so we'll work through this together. Good luck!

  • @wenhankho1098
    @wenhankho1098 ปีที่แล้ว +1

    nice song

  • @rilannn23
    @rilannn23 ปีที่แล้ว

    itu kan mengarahkan excel A nya pakai $row[0] nah terus cara mengarahkan ke nomor excel nya bagaimana kak?

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน +1

      Hi @rilannn23! Untuk mengarahkan ke nomor kolom Excel tertentu, kamu bisa menggunakan indeks kolom dalam array $row. Misalnya, jika kamu ingin mengakses kolom B, kamu akan menggunakan $row[1], kolom C menggunakan $row[2], dan seterusnya. Jika ada pertanyaan lebih lanjut, jangan ragu untuk bertanya!

  • @govindalatiya
    @govindalatiya 3 หลายเดือนก่อน

    Code is not working

  • @satwik-ej6us
    @satwik-ej6us ปีที่แล้ว

    bro i am getting $reader line as error
    please could u help me to resolve it

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Hey there! I'm sorry to hear that you're encountering an error with the '$reader' line. Let's see if we can figure it out together and get your code working!
      To better assist you, could you please provide me with some additional information? Specifically, I'd need to know which part of the code you are referring to, and any error messages or codes that are displayed when you encounter the issue. This will help me pinpoint the problem more accurately.
      In the meantime, here are a few general tips that might help you troubleshoot the error:
      - Make sure that the variable '$reader' is properly defined before its usage.
      - Double-check if the correct libraries or modules are imported or included in your PHP script.
      - Verify if the file you are trying to read exists in the specified location.
      Once you share more details about the error, I'll be able to provide a more specific solution. Don't worry; we'll get this sorted out together! Feel free to ask any questions, and I'll do my best to assist you.

  • @hoaho1185
    @hoaho1185 ปีที่แล้ว

    why it doesn't work on version 8.2.0. I used VS Code

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      The compatibility of the code shown in the video with version 8.2.0 of your tools (such as VS Code) may vary, as the video might have been created using different versions.

  • @ShovenaFamily
    @ShovenaFamily 2 ปีที่แล้ว +1

    PHP version ?

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      >7

    • @ShovenaFamily
      @ShovenaFamily 2 ปีที่แล้ว +1

      @@DavidGTech sudah coba di versi 8 belum? Saya pakai versi 8 data excel masuk masih dianggap null.

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว

      Kayanya excelnya, soalnya xls dan xlsx beda

    • @ShovenaFamily
      @ShovenaFamily 2 ปีที่แล้ว

      @@DavidGTech udah 2 file dimasukkin, padahal syntaknya masih manual, arraynya di anggap null.

  • @twj14
    @twj14 ปีที่แล้ว

    bro upload ke direktori filenya berhasil, ada filenya, tapi pas post ke database, dia gak masuk, itu kenapa ya ?

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Kemungkinan ada yang salah di kode insert ke database phpnya

    • @twj14
      @twj14 ปีที่แล้ว

      @@DavidGTech udh fix bro pake library yg lain

    • @mzeinalbalki
      @mzeinalbalki ปีที่แล้ว

      @@twj14 pake library apa kalo boleh tau bro?

    • @ozira55
      @ozira55 ปีที่แล้ว

      @@twj14 pake library ap bro?

  • @MasterMis-q3t
    @MasterMis-q3t 8 หลายเดือนก่อน +1

    Good Day sir is this permanent ?

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @user-nv5xs8lg3w,
      Yes, it is. 😊 Once the data is imported into your MySQL database, it will remain there permanently unless you choose to delete or modify it. Let me know if you have any more questions!

  • @zalimkhan7196
    @zalimkhan7196 ปีที่แล้ว

    Bro it show me warning (warning move_uploaded_file(Upload/2023......) Fails to open stream: No such file or directory in C:\xampp\htdocs\upload\index.php on line 56 )
    Please help me bro 🙏

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      I'm sorry to hear that you're experiencing an error message. It sounds like there might be an issue with the file path. Have you tried double-checking the directory and file name to make sure they match the upload code?

  • @nearlawliet
    @nearlawliet 10 หลายเดือนก่อน

    why it doesnt work?

    • @DavidGTech
      @DavidGTech  10 หลายเดือนก่อน

      Hi @user-wf8nq7wr5j,
      I'd be happy to help you troubleshoot the issue, but I'll need more information to provide a specific solution. Could you please provide details on:
      Any error messages you're encountering.
      The specific step where you're facing the problem.
      Any code snippets related to the part that isn't working.
      With this additional information, I'll be better able to assist you in getting your import from Excel to MySQL with PHP up and running. Looking forward to helping you resolve this!

  • @sunithabanka4927
    @sunithabanka4927 ปีที่แล้ว

    i got this error

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      I'm sorry to hear that you're encountering an error. In order to help you, can you please provide me with more details about the error message you're receiving? This will allow me to better understand the issue and provide more specific guidance on how to resolve it.

  • @ideamark8787
    @ideamark8787 11 หลายเดือนก่อน

    Fatal error: Uncaught ValueError: XMLReader::open(): Argument #1 ($uri) cannot be empty in C:\xamp\htdocs\php\excell\excelReader\SpreadsheetReader_XLSX.php:960 Stack trace: #0 C:\xamp\htdocs\php\excell\excelReader\SpreadsheetReader_XLSX.php(960): XMLReader->open('') #1 C:\xamp\htdocs\php\excell\excelReader\SpreadsheetReader.php(238): SpreadsheetReader_XLSX->rewind() #2 C:\xamp\htdocs\php\excell\excell.php(42): SpreadsheetReader->rewind() #3 {main} thrown in C:\xamp\htdocs\php\excell\excelReader\SpreadsheetReader_XLSX.php on line 960
    i got this error how can i fix it sir?

    • @DavidGTech
      @DavidGTech  11 หลายเดือนก่อน

      Hi @ideamark8787,
      I appreciate you reaching out, and I'm sorry to hear about the error you're facing. The error you've mentioned indicates an issue with XMLReader and an empty URI.
      Here are a few steps you can take to troubleshoot this:
      - Check File Path: Make sure that the file path you're providing to the XMLReader is correct. The error might occur if the file is not found.
      - File Existence: Confirm that the Excel file exists at the specified path. If the file is not found, XMLReader might receive an empty URI.
      - File Permissions: Ensure that the PHP script has the necessary permissions to read the Excel file. File permissions issues can sometimes lead to this error.
      - File Content: Validate that the Excel file is in the correct format and not corrupted. An invalid or corrupted file might cause XMLReader to encounter issues.
      If the problem persists, you might want to share the relevant sections of your PHP code where you're using XMLReader and opening the file. This will help me provide more specific assistance.
      Feel free to provide more details, and we'll work together to resolve this issue!

  • @PavanYadav-lj7uv
    @PavanYadav-lj7uv ปีที่แล้ว

    Vaue😢❤
    Qorl😢❤ww 0:12 🎉m
    Qe

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      Thanks for watching!

  • @sunithabanka4927
    @sunithabanka4927 ปีที่แล้ว

    please reply me

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว

      I apologize for the delay in responding to your comment. I'm here to assist you now. How can I help you?

  • @groceryshop733
    @groceryshop733 2 ปีที่แล้ว +1

    thank you

    • @DavidGTech
      @DavidGTech  2 ปีที่แล้ว +1

      You're welcome!!! Thanks for watching...

  • @RdbtConstruction
    @RdbtConstruction ปีที่แล้ว

    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ...LOCAL\excelReader\SpreadsheetReader_XLSX.php on line 456
    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ...LOCAL\excelReader\SpreadsheetReader_XLSX.php on line 581
    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ...LOCAL\excelReader\SpreadsheetReader_XLSX.php on line 1049
    Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ...LOCAL\excelReader\SpreadsheetReader_XLSX.php on line 1083
    Fatal error: Uncaught Error: Class "ZipArchive" not found in ...LOCAL\excelReader\SpreadsheetReader_XLSX.php:217 Stack trace: #0 ...LOCAL\excelReader\SpreadsheetReader.php(166): SpreadsheetReader_XLSX->__construct('../private/uplo...') #1 ...LOCAL\Motorpool\vh_list.php(29): SpreadsheetReader->__construct('../private/uplo...') #2 {main} thrown in ...LOCAL\excelReader\SpreadsheetReader_XLSX.php on line 217

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว +1

      Thank you for bringing up the warnings and fatal error you encountered. The warnings you mentioned about the 'continue' statements in the 'SpreadsheetReader_XLSX.php' file are related to changes in PHP versions. The warning suggests using 'continue 2' instead of 'continue' to explicitly continue the outer loop. This adjustment helps to avoid unexpected behavior.
      Regarding the fatal error stating that the 'ZipArchive' class is not found, it indicates that the required PHP extension for ZIP file manipulation is missing or not enabled on your server. The 'ZipArchive' class is necessary to handle ZIP files, which are used in the process of reading XLSX files in the example.
      To resolve these issues, you can follow these steps:
      1. Update the 'SpreadsheetReader_XLSX.php' file by replacing the 'continue' statements with 'continue 2' as suggested in the warning messages.
      2. Enable the 'ZipArchive' extension in your PHP configuration. You can do this by locating the 'php.ini' file and uncommenting the line that enables the 'zip' extension (e.g., remove the semicolon at the beginning of the line). If you don't have access to the 'php.ini' file, contact your hosting provider to enable the extension for you.
      If you encounter any further issues or need additional assistance, please provide more details, thank you!!!

  • @wc2203-c6p
    @wc2203-c6p ปีที่แล้ว +1

    Hi. Thank you for the Resources but does it work online like 000webhosting

    • @DavidGTech
      @DavidGTech  ปีที่แล้ว +1

      Hi, yes it does work online

    • @wc2203-c6p
      @wc2203-c6p ปีที่แล้ว

      I did tried but unfortunately it doesnt work. I check my script and it definitely is correct. why do you think is that. does this still support 000webhosting or the latest php version?

  • @zigijutemari
    @zigijutemari 8 หลายเดือนก่อน +2

    Thank you

    • @DavidGTech
      @DavidGTech  5 หลายเดือนก่อน

      Hi @zigijutemari,
      You're welcome! 😊 Glad I could help!