No errors at all... ----- Original Message ----- From: Tyler Longren To: php-general ; James Bartlett Sent: Friday, July 06, 2001 7:29 PM Subject: Re: [PHP] Problem writting to file... Any errors being given to you? Tyler ----- Original Message ----- From: "James Bartlett" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 1:15 PM Subject: [PHP] Problem writting to file... Hi, I'm trying to write data to a file but for some reason it will not store numbers in the file...Here's the code I'm using...(as an example) <?php $fp = fopen("./data.txt", "w+"); $counter = 0; while ($counter <6) { fwrite($fp, $counter . "\n"); $counter = $counter +1; } fclose ($fp); ?> Thanks for any help... James
- [PHP] Problem writting to file... James Bartlett
- Re: [PHP] Problem writting to file... Chris Anderson
- Re: [PHP] Problem writting to file... James Bartlett
- Re: [PHP] Problem writting to file... Tyler Longren
- RE: [PHP] Problem writting to file... James Bartlett
- RE: [PHP] Problem writting to file... Jerry Lake
- Re: [PHP] Problem writting to file... James Bartlett
- RE: [PHP] Problem writting to file... Don Read
- RE: [PHP] Problem writting to file... Chadwick, Russell
- Re: [PHP] Problem writting to file... James Bartlett
- RE: [PHP] Problem writting to file... Chadwick, Russell
- Re: [PHP] Problem writting to file... James Bartlett
- Re: [PHP] Problem writting to file... James Bartlett
- Re: [PHP] Problem writting to file... John Meyer