inserting records in phpmyadmin?

Soldato
Joined
16 Oct 2007
Posts
7,481
Location
UK
hello all,

i have a big list of items that i want to insert into my mysql database on my site

i can format the xls so that each row has the appropriate fields

but how do i insert it into the database? which format to save in?

any help would be great, thank you
 
Choose the database, then the table, then the link for 'Insert' at the top?

Or click on SQL and run an SQL statement....

"INSERT into YOURTABLE (your,table,rows,etc,etc) VALUES (your,values,go,here,etc)"

Where the table rows are your actual table rows and the values are your values you wish to enter.

I'm not great at MySQL but it sounds like you simply need an insert statemnt unless you're talking about only a few records, then you could do it by hand, 1 by 1...
 
Ok, managed to get everything set up, but when i import:

Error
Invalid parameter for CSV import: Fields escaped by

What options to I need??



I'm doing fields terminated by ,

i've left the others empty, because i can't use the default for other options (such as " and \) because they're present in some of my data i'm imported and i thought it might wreck everything
 
Back
Top Bottom