[PHP] Re: Simple (I hope) updating contents question

2001-07-20 Thread Er Galvão Abbott
Tx, man. You helped a lot here, but now I'm having some problems updating the text file. I've made some changes in the code myself, so here it is: The reading process is made by this: "; $i++; } fclose($abrir); ?> This is working great, thanks to you, but the writing script is working with

[PHP] Re: Simple (I hope) updating contents question

2001-07-20 Thread Paul A. Procacci
The fgets length is like this: It's the number of bytes read from a file OR up to a new line character. Which ever comes first. It's as simple as that. Try this: "; $i++; } } fclose($fp); ?> That's what gets displayed to this user and this is how we would rewrite the file: I hope t