smart reading from a text file


Posted on 16th Feb 2014 07:03 pm by admin

Hello there fellow coders, i was wondering if one of you wouldnt mind helping me with this problem i seem to have hit:

There is an application which i am currently coding, which writes everything that is searched for into a file called search.txt, basically, it looks like this:

--
Windows XP, http://www.example.com, 26/10/09, 00:00
Tractors, http://www.example2.com, 29/10/09, 04:12
--

I was wondering how i would go about tabulating raw data such as that in a PHP page? I assume it would have to know the comma's were seperators...
If anyone can think of a better way to do this (it is purely a flat-file system) that would be helpful too

No comments posted yet

Your Answer:

Login to answer
305 Like 52 Dislike
Previous forums Next forums
Other forums

Sorting JTable on more than just the values listed in the columns
I have a collection of objects that store (among other things) two integer values. I only want to di

controlling/creating accounts with privileges
hi all,
i'm trying to figure out how i can create/control account with privileges, for instance a

distinct rows
Hi
version 10.2.0.3

I have a query output something like the following

ID

Data Function is Its Not working IN IE8
This is my first time to use formums. I hope i can get solution for this problem. view plaincopy to

present value of sequence?
Hi

Please help me to find out the present value of sequence?

Thanks

how to load php class from another domain?
how to load php class from another domain?

Check Date/Time in PHP
What I need the code to check is that $reQuest is 24 hours in the past then return a time based on h

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash