• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
uploading tab delimited file to MySQL database

#1
[eluser]agubski[/eluser]
Hi everyone,

Does anyone has experience uploading tab delimited text file to MySQL database. Either via PHP or PHPMyAdmin utility. Formatting the file to please PHPMyAdmin is too time consuming to properly deliniate all fields etc...

Thanks

Alex

#2
[eluser]TheFuzzy0ne[/eluser]
You should be able to export an existing table as a CSV file. From that, you should be able to see the format required.

#3
[eluser]agubski[/eluser]
Do you know if header line must be present in the csv file in order for it to upload properly? I have it working, but can't get consistent result. Each time there are strage fields appear. It also fails to replace the content of the table and each time seams to ammend it...

thanks for feedback

Alex


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.