[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] PHP & MySQL



Craig Andrews wrote:

><snip>
>http://www.sheflug.uklinux.net/mysql_php/index.html
>
the pages are brilliant, examples are crystal clear and work out of the 
box--except I am puzzled by one wee thing:
I don't get carriage returns from the (shortened) snippet

 while ($row = mysql_fetch_row($result)) {
    printf("%s %s\n", $row[0], $row[1]);
}

nor does echo "stuff\n" produce a cr.  Bug or feature?  Anyone else have 
similar behaviour?

btw I am a complete beginner at AMP...but I might just get hooked...

Matt

-- 
== . Matt Fairtlough	     . +44 (0)114 236 2067  . ==
== . 22 Harley Road	     .			    . ==
== . Sheffield, S11 9SE, UK  .	matt [at] fairtlough.net . ==



___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.