HI, I'm looking to take the data from a CSV file, then upload it into a mysql databace.
I figure i will need the following. To count the number of lines ... and cut up each line in its veriables then entering it into the databace. I have: $file = fopen("pricelist-snippet.csv","r"); $buffer = fread($file,10000); echo $buffer; This dumps the data to the screen ... where would i start to making cutting this data up by the line? / Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php