Hi Everyone,
Forgive me for not using proper lingo, I'm brand new at this and learning every day.
I have a database that is about 2000 lines long, with about 15 fields in each line. Rather than go line by line in browse and edit, I've exported the database as a CSV file, and I edit in in Excel 2007.
My problem is this:
In updating the file, i've deleted about 300 lines that were incorrect, or items that have been discontinued from my website. Almost every other line has been edited with current pricing or new info. All I really did was delete the entire line in excel, and all the data then moved up a line to close the space. The database is organized by the first field/column, which is ID.
When I then import it back into myphpmyadmin, all the lines that I edited now show up on the website correctly, showing the edits I have made. However, the lines that I have deleted, and no longer appear in the CSV file, still show up online in the database. It appears that it overwrites the still existing lines, but nothing is telling it to delete the ID lines that no longer exist. Perhaps its something i'm not checking off, or perhaps it just doesnt work this way. Is there a simple solution to this? I called my webhost godaddy who couldnt really talk me through this. All they told me was that I have an error in a column query.
I'm choosing the following options when I import. Format: CSV using LOAD DATA, and I check off "Replace table data with file". the "ignore duplicate rows" isnt making a difference for me whether it is on or off.
Any help would great!
Thanks so much!