Hi everyone,
I am importing an excel file in php , in that file there are 10 lines,so it read that ten line and saves it in database.
After that I inserted five more lines , while again I am inserting , it should avoid the 10 lines and should read and save the new lines.
For this I need musql code?

Recommended Answers

All 2 Replies

That's only possible if your excel files contain a unique column (or combination of columns) so you can identify the already inserted rows.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.