Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB