Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by lilokster

  1. lilokster

    fgetcsv and array problem

    To be more specific, here is the code I am currently using to view the file: $handle = fopen("uploads/22.csv", "r"); while (($data = fgetcsv($handle, 5000, ",")) !== FALSE) { echo "<pre>"; print_r($data); echo "<pre>"; } This is the output: Array ( [0] => Date [1] =>...
  2. lilokster

    fgetcsv and array problem

    I am trying to pull information from a csv file on my server and place it into a mysql table. I am able to pull the file using fopen and fgetcsv and get the following to display: Array [1] 7/23/2011 [2] 22012 [3] 100005 Array [1] 7/23/2011 [2] 21022 [3] 100006 In this scenario [2] would be a...

Part and Inventory Search

Back
Top