[PHP] Text file manipulation question.

2003-07-14 Thread Lloyd Bayley
Greetings All! I'm still in the learning stages of PHP and require some help with a small problem. I need to take a text file which looks like this (and no I can't get it output in CSV - damn and blast!) user1 26:48:59 6 logins 4:28:09 hrs/login user2

Re: [PHP] Text file manipulation question.

2003-07-14 Thread Lloyd Bayley
Thankyou! That works a treat! Lloyd. :-) At 11:36 PM 14/07/2003 +, you wrote: Lloyd Bayley [EMAIL PROTECTED] wrote: Greetings All! I'm still in the learning stages of PHP and require some help with a small problem. I need to take a text file which looks like this (and no I can't get

[PHP] Searching a test file...

2003-07-15 Thread Lloyd Bayley
Hi people, back again... Got some help this today (tnx Curt) from the list but for another chunk of the code I'm doing... Now, I can't seem to get the following code to work... Have included some sample lines from the datafile (acc.txt) No matter what I do, it always returns not here even if

[PHP] PHP Variables

2003-12-06 Thread Lloyd Bayley
Greetings All, Have a small problem that I just can't work out. I know it's an easy one but it's got me stumped... I have some code to pull a question out of a database and display it on the screen. I also want to store it in a hidden var for use with the $_POST on the next page. Currently,

[PHP] Re: PHP Variables

2003-12-06 Thread Lloyd Bayley
wrote: Hi Lloyd, use quotes around your values echo input type=\text\ name=\question1_text\ value=\$question\br /; Regards, Greg -- phpDocumentor http://www.phpdoc.org Lloyd Bayley wrote: Greetings All, Have a small problem that I just can't work out. I know it's an easy one but it's got me

[PHP] Application-level variables

2004-02-08 Thread Lloyd Bayley
Greetings Everyone, I am still new to PHP but am progressing nicely. I has helped a lot that I have had vast experience with ColdFusion (sorry) but have seen the light and am now doing rather nicely in PHP. My question is as follows... I have certain functions, variables etc that I would like