Questions tagged as 'txt'

1
answer

Accessing .csv file with PHP [duplicate]

I would like to know how I can get and store column data in a .csv file with PHP?     
asked by 21.11.2017 / 16:37
1
answer

Adapt txt file reader

I was using a manual method to grab a txt file, where the user typed the file name and extension and pressed the button, now they replace it with a code that opens a search box to choose the file in hd. JFileChooser fileChooser = new JFileChoo...
asked by 04.10.2017 / 17:58
1
answer

Upload .txt for MySQL database

Hello, I would like to upload a file .txt that meets the layout as follows (follow the example of two lines of the file): 9787546;488464;2016-12-11;Carlos Fonseca;carlos.fonseca 9787547;464664;2016-12-11;Rogério Barros;rogerio.barros...
asked by 27.12.2016 / 13:14
1
answer

txt file I inserted in the bd

Good, I'm making a website, where I will get a txt file that the user will upload (always in msm format (process, name, number)). I am trying to use arrays to fetch the data and insert it into the database. I already managed to fetch but I can n...
asked by 01.07.2016 / 03:12
3
answers

Error reading all the records of a .txt file in C

Can anyone tell me why this my code just returns the first record multiple times, instead of returning all the records? Function in the Code void listarDados(int quantidadeContatos) { char caracteres; FILE *arquivo = fopen("contat...
asked by 16.12.2018 / 18:09
1
answer

Read txt file and save in PHP array

I have a txt file, where the data is separated by | . I would like to read and separate content from within each pair of | into a position of a vector. But it does not print when I put print_r out of while . <?p...
asked by 04.12.2018 / 17:44
2
answers

How do I get a specific column from a .txt file with PHP

I have a txr file with several columns but I want to get only a specific value from the first one. So far I've been able to open the file and separate the values from the header. <?php error_reporting(0); // $delimitador = "/[\t]/"; // Abr...
asked by 26.12.2017 / 13:29
0
answers

How to create a table with DataGridViwer and get TXT data

Hello, I just migrated from C to C #. I learned some things from C # by seeing the compiler error messages. What I want to do is to have Datagrid look the way the image is: Link. Well, I need exactly that. How to get the data from tx...
asked by 17.10.2018 / 19:29
1
answer

Error adding items to a Python3 .txt file

I'm trying to read a .txt file (currently empty) to check if chat_id already exists, if it already exists, it ends there. If it does not exist ... Add the new chat_id in the last line, but when I run the code and see the file, there is nothing w...
asked by 15.10.2018 / 23:42
0
answers

Export SQLite data to a text file (csv, txt or xls) - Android Studio

Well, I'm having a problem that is eating me, the client needs the data that is stored in the application's SQLite database, and needs to be in a text format like csv, txt or xls, since it opens this data in excel even to make a conference if the...
asked by 08.10.2018 / 16:19