how to extract data from a txt file ? |
[eluser]sasori[/eluser]
hi, can you guys tell me how to extract datas from a text file and save the data to mysql using codeigniter ? im thinkin of using one of these Quote:http://ellislab.com/codeigniter/user-gui...elper.htmlbut not sure which one should i use. * and where am i gonna put the function that will extract the data from the txt file ? should I put it on the controller, model or view ?
[eluser]flaky[/eluser]
Code: $string = read_file('./path/to/file.php'); usually you put it in model or controller |
Welcome Guest, Not a member yet? Register Sign In |