How do I get all data from one row from mysql table exported into text files, but formatted this way:
- one field under another, one per line
- i would like to break that data into pieces and save for example 50 lines in file1.txt then next 50 in file2.txt and so on until end (it's not round number so last file would have less lines probably)
- don't copy identical entries / remove duplicates
...using php script or just mysql console?