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 wrote: > At 4:45 PM -0400 5/14/09, Andrew Ballard wrote: >> >> On Thu, May 14, 2009 at 4:33 PM, Paul M Foster >> 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 inadvertan

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 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 netiquette on lists, etc. I ag

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 > > wrote: > > > On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: > > >> Is there a moderator or some responsible

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 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 >> wrote: >> > On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: >> >> Is there a moderator or some responsible party

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 > 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 a

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

2009-05-14 Thread Ashley Sheridan
...@jobscss.com > > > -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Thursday, May 14, 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 P

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

2009-05-14 Thread Mike Roberts
es; 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 > wrote: > > On Thu, 2009-05-14 at 09:29 -0400, Mike Roberts wrote: > >> Is t

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

2009-05-14 Thread Ashley Sheridan
On Thu, 2009-05-14 at 15:30 -0400, Andrew Ballard wrote: > On Thu, May 14, 2009 at 3:29 PM, Ashley Sheridan > 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

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 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 request. >> > As I and ma

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 o

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

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

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: 2009/5/14 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: >> >> > $alldata = file("result.txt"); >> echo ""; >>

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: > > $alldata = file("result.txt"); > echo ""; > foreach($alldata as $line_num => $line) { > echo $line.""; > } > echo""; > ?> > > I have attached the result.t

[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: "; foreach($alldata as $line_num => $line) { echo $line.""; } echo""; ?> I have attached the result.txt file. However the output of the script is as follows: Query: 1 atggcaatcgt