Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

LOAD DATA INFILE

I have a LOAD DATA INFILE statement that loads a large csv file into the database. I can query all the records fine but when I start putting parameters it returns the same record twice. I cannot for the life of me work out why it is doing this. The only thing i can think of it has something to do with the LOAD DATA INFILE STATEMENT. I ran a normal where clause using phpmyadmin and it return the same record twice so its nothing to do with my php code. Anyone any ideas??