I have a CSV file as follows:
"player1",5'11,150,R,R,10,OF,17
"player2",5'6,119,R,R,10,2B,13
I am trying to create a PHP page which will look for a specified name in the first "column", and upon finding it, return the rest of the info in that line as separate variables. So, for example, if i specified the name as "player1", the script would store "5'11" as $height, "150" as $weight, etc. I tried playing around with fgetcsv, but I don't know enough PHP to get it working right. Any help would be greatly appreciated.