i have multiple users who need to update a table into mysql with a csv file they will need to do this by pasting the csv file into a text area on the website
the first row of that file contains the name of each feild and i need to get rid of that plus i also need to add
the user name to each rows (so i know who the user is for each row) and finaly i need to get rid of the last row of the csv file too (and the file dont have the same amount of rows)
ill paste you a bit of the file so you understand better
Id Name Position Reference city guards ballistas rangers guardians templars berserkers mages scouts crossbowmen paladins knights warlocks rams catapults frigates sloops war galleons barons TS Summary (dbl click to select)
"27132364" "Landingzone" "'460:414" "" "487" "0" "0" "0" "0" "1993" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "1993" "487 city guards, 1993 berserkers"
"27263434" "valcartier" "'458:416" "" "0" "0" "24411" "12354" "0" "24837" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "61602" "24411 rangers, 12354 guardians, 24837 berserkers"
"26935754" "Magog" "'458:411" "" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "0" "24" "0" "0" "2400" "24 sloops"
"Total" "Total" "'" "" "487" "0" "24411" "12354" "0" "26971" "0" "0" "0" "0" "0" "0" "0" "0" "0" "24" "0" "1" "66137" "487 city guards, 24411 rangers, 12354 guardians, 26971 berserkers, 24 sloops, 1 baron"
as you see the feild are delimited by double quote and i have no clue how the row change is made i am really lost here any help would be welcomed ty