Re: [PHP] Generating a new line in a text file

2002-01-18 Thread Chris Janes
: Chris, : \n = *nix : \r = Mac : \r\n = PC : (now that you've 'dropped' "MS Notepad" into the conversation...) The simplest M$ tools content themselves with : black blocks (apparently not being interested in your comfort), but the more sophisticated tools will sometimes : oblige... : =dn : Exc

Re: [PHP] Generating a new line in a text file

2002-01-17 Thread Chris Janes
: : Ah, so you're opening the file in something that doesn't understand : newlines and prefers line feeds, then. : : In that case you'll want to use \r instead of \n. : : Jason You'll never guess what, that doesn't work either... still pretty black blocks, but no new line... In a foolish move (p

Re: [PHP] Generating a new line in a text file

2002-01-17 Thread Chris Janes
: : Don't know why it's got everyone else stumped. : : "\n" is the new line character. Make sure you use it in "" and : not in ''. : : Jason : Unfortunately, that doesn't work either, it changes the \n that appeared at the end of the new line to a single black block. It does not put the next quo

[PHP] Generating a new line in a text file

2002-01-17 Thread Chris Janes
quote generator, but using a database when a flat file will do seems like overkill to me. TIA Chris Janes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Updating rows in a MySQL database with PHP

2001-11-27 Thread Chris Janes
his all seemed like a good way of learning PHP and MySQL, it's just leading to further hair loss! Oh, and I'm sorry if this really should go to another list, but this was the first one that leapt to mind. Cheers, Chris Janes -- PHP General Mailing List (http://www.php.net/) To un