[PHP] BUG?: for loop using chars

2002-05-16 Thread Erich Reimberg N
Hello, I'm trying to generate this list of letters A..Z, using this for ($l='A'; $l='Z'; $l++) echo $l.-; And it doesn't work. It generates the output included at the end of this message (I used to be shorter) But this works for ($l='A'; $l='Y'; $l++) echo $l.-;

[PHP] NEED BOOK: DB Abstaction

2001-05-24 Thread Erich Reimberg N.
can recommend Cc to my email address: [EMAIL PROTECTED] Thanks, Erich Reimberg N -- 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] Date/Time Arithmetic

2001-04-11 Thread Erich Reimberg N.
Hello, Is it possible to do some arithmetic with time/date values in PHP? for example, to calculate: today + 1050 days. today - 7 days. etc. I mean, does PHP have functions to perform these operations? Thanks, Erich Reimberg. PS. I'm new to PHP, and I didn't find anything like