Re: File problem!! HELP PLEASE

From: Date: Tue, 12 Dec 2000 21:50:53 +0000
Subject: Re: File problem!! HELP PLEASE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29965@lists.php.net to get a copy of this message
A dump solution is to end the variabele with the username with an enter like this $string="username "; I don't know why the normal '\n' doesn't work. Javascript got something to see if a user is leaving your page. Maybe you could use it. With regards, Tijmen On Tue, 12 Dec 2000, Martin Tuncaydin wrote: > Hi!! How would I do this!! > > I have a chat script and when someone logs in it copys their username to a > txt file. It does each username on a different line. The problem is, I want > to print each username on a different line. It may seem like a dumb question > but I am new to PHP. How would I do this? > > Another problem is. When the user logs out of the chat I would like to > delete that users username from the file. How would I do this. Please > someone help. I am going crazy. > > Any help appreciated. > > Thanx > > Martin > > > > -- Customer: I'm running Windows '98 Tech: Yes. Customer: My computer isn't working now. Tech: Yes, you said that.

« previous php.general (#29965) next »