Re: [PHP]Cannot output the same data from text file in PHP

2009-05-15 Thread tedd
At 4:45 PM -0400 5/14/09, Andrew Ballard wrote: On Thu, May 14, 2009 at 4:33 PM, Paul M Foster pa...@quillandmouse.com wrote: My stance is, if you're going to subscribe to an email list, learn how to unsubscribe, how to see if you've been inadvertantly unsubscribed, learn email

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-15 Thread Andrew Ballard
On Fri, May 15, 2009 at 10:24 AM, tedd tedd.sperl...@gmail.com wrote: At 4:45 PM -0400 5/14/09, Andrew Ballard wrote: On Thu, May 14, 2009 at 4:33 PM, Paul M Foster pa...@quillandmouse.com wrote:   My stance is, if you're going to subscribe to an email list, learn how  to unsubscribe, how

[PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Moses
Hi Folks, I have a written a script in PHP which outputs the result from a text file. The PHP script is as follows: ?php $alldata = file(result.txt); echo tabletrtd; foreach($alldata as $line_num = $line) { echo $line.br; } echo/td/tr/table; ? I have attached the result.txt file. However the

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Peter Ford
Moses wrote: Hi Folks, I have a written a script in PHP which outputs the result from a text file. The PHP script is as follows: ?php $alldata = file(result.txt); echo tabletrtd; foreach($alldata as $line_num = $line) { echo $line.br; } echo/td/tr/table; ? I have attached the

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Jan G.B.
You could even make it shorter, if you don't need the line numbers anyway: pre ? echo nl2br(file_get_contents('file.txt')); ? /pre 2009/5/14 Peter Ford p...@justcroft.com: Moses wrote: Hi Folks, I have a written a script in PHP which outputs the result from a text file. The PHP script is

RE: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Mike Roberts
, Suite 510 Bala Cynwyd, PA 19004 P 610-771-1084 F 610-771-0390 E mrobe...@jobscss.com mailto:mrobe...@jobscss.com From: Moses [mailto:jam...@gmail.com] Sent: Thursday, May 14, 2009 5:19 AM To: php-general@lists.php.net Subject: [PHP]Cannot output the same data from text file in PHP

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Nathan Rixham
-771-0390 E mrobe...@jobscss.com mailto:mrobe...@jobscss.com From: Moses [mailto:jam...@gmail.com] Sent: Thursday, May 14, 2009 5:19 AM To: php-general@lists.php.net Subject: [PHP]Cannot output the same data from text file in PHP Hi Folks, I have a written a script in PHP which outputs

RE: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Ashley Sheridan
On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: Is there a moderator or some responsible party who is in charge of this list. Please delete my profile and stop sending messages. This is the 6th such request. As I and many others have said before, the unsubscribe email address is on

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Andrew Ballard
On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: Is there a moderator or some responsible party who is in charge of this list. Please delete my profile and stop sending messages. This is the 6th such

RE: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Mike Roberts
@lists.php.net Subject: Re: [PHP]Cannot output the same data from text file in PHP On Thu, 2009-05-14 at 15:30 -0400, Andrew Ballard wrote: On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: Is there a moderator or some

RE: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Ashley Sheridan
, 2009 3:50 PM To: Andrew Ballard Cc: Mike Roberts; Moses; php-general@lists.php.net Subject: Re: [PHP]Cannot output the same data from text file in PHP On Thu, 2009-05-14 at 15:30 -0400, Andrew Ballard wrote: On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Paul M Foster
On Thu, May 14, 2009 at 03:30:44PM -0400, Andrew Ballard wrote: On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: Is there a moderator or some responsible party who is in charge of this list. Please

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Andrew Ballard
On Thu, May 14, 2009 at 4:33 PM, Paul M Foster pa...@quillandmouse.com wrote: On Thu, May 14, 2009 at 03:30:44PM -0400, Andrew Ballard wrote: On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: Is there a

Re: [PHP]Cannot output the same data from text file in PHP

2009-05-14 Thread Ashley Sheridan
On Thu, 2009-05-14 at 16:33 -0400, Paul M Foster wrote: On Thu, May 14, 2009 at 03:30:44PM -0400, Andrew Ballard wrote: On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: Is there a moderator or some