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

* Gridview and Detailsview in UpdatePanel, insert mode problem
I have a GridView and DetailsView working together. When a record from Gridview is selected, Detail

Trigger tag in aspx is not coming
hi all ,iam new to ajax, iam using file upload inside the update pannel but right now i want to use

need help in update query
i create a form for update. there are 8 columns in my mysql table. on my main page all the data is r

DB2 for z/OS, LUW, iSeries
Hello, In this forum a lot of threads related to other members of the DB2 family than DB2 for z/OS

Pulling out some result data from MYSQL
Hey Guys,

I've built a PHP page that has a for just imagine something like registration form

Loop column after 2 results
Hello All.

Here is what I have:

Client ID Company name Clien

need good snippet manager
Hi. as i am coding and learning more, it is becoming difficult to manage code snippets. how you mana

storing results of a function - previous result overwritten with new result
I have created a function to validate input.

function validate_dimension($value,$name) {
<

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

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