I have a file on ftp
I need a script to read it and save each line to different mysql cell, but same row.
What I want here is: open the file, read it line by line and save it like so:
first line (Sam) to 'name' column
second line (Pass) to 'password' column
other lines (Other content here) to 'comments' column
I know I need to use fopen, fclose etc. but I need full script.
Thanks for any help.