Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4121254
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T23:19:38+00:00 2026-05-20T23:19:38+00:00

i need some help with a project of mine. It is about a dvd

  • 0

i need some help with a project of mine. It is about a dvd database. In the moment i am planning to implement a csv data function to import dvds with all information from a file.
I will do this in three steps.

Step 1
– show data i want to import, building array
– import data, building session arrays

Step 2

– edit informations

Step 3

– showing result before update
– update data

so far it works but i have a problem with large files. the csv data has 20 columns (title, genre, plot etc.) and for each line in the csv there are some arrays i create to use it in the next steps.

When i have more about 500 lines the browser often collapse while importing. I get no response.

Anyway now i trying to do this as an ajax call process. The advantage is, that i can define how many procedures the system handle each call and the user can see that the system is still working, like an statusbar when down/uploading a file.

In the moment i try to find some usefull example illustrating how i can do this, but i could not find something useful till now.

Maybe you have some tipps or an example how this could work, saying processing 20 lines each call, building the array.

After i would like to use the same function to build the session arrays using in the next step and so on.

Some information:

i use fgetcsv() to read the rows from the file. i go through the rows and each column i have different querys like is the item id unique, the title exist, description exist etc.
So if one of these data is not entered i get an error which row and column the error occures.

I´d appreciate any help from you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T23:19:39+00:00Added an answer on May 20, 2026 at 11:19 pm

    use ‘LOAD DATA INFILE’ syntax. ive used it on files upwards of 500mb with 3mil rows and it takes seconds, not minutes.

    http://dev.mysql.com/doc/refman/5.0/en/load-data.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some help, I have to make a project about leaves. I want
I need some help with my project. I've created a Custom Adapter, since I
Seems like i need some help with a project. I have a routine ,
I need some help with a work project I have been assigned. At the
I'm experiencing some difficulties configuring our project with Maven and need some help :)
Hey, i need some help with rails, again ! Last it was about Authlogic..
I need some help with my Makefile for a project. The source directory looks
i need some help with c# and nhibernate. I'm working on a project that
I'm planning on making an editor for my current project and will need some
I am building a project management app and need some help with how to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.