Re: [PHP-DB] ADDING DATES

2002-01-14 Thread Daniel Barton
People, people: In general, I do agree, that when a post starts with " ... but i am getting lazy" I find it a little lazy. Well, it even claims to be lazy. However, there have been a bunch of instances of newbie-attacks on this list lately, and if that's the type of environment this is goi

Re: [PHP-DB] ADDING DATES

2002-01-14 Thread DL Neil
Hear, hear! =dn > Yep, maybe it is, but when a post starts with " ... but i am getting lazy", > I get a bit peeved. The implication is "Do my work for me." > > It's different when the context is I want to do this ... tried this ... > results aren't right ... please help. > > Miles > > At 0

Re: [PHP-DB] ADDING DATES

2002-01-13 Thread Miles Thompson
Yep, maybe it is, but when a post starts with " ... but i am getting lazy", I get a bit peeved. The implication is "Do my work for me." It's different when the context is I want to do this ... tried this ... results aren't right ... please help. Miles At 06:04 PM 1/13/2002 -0800, Daniel Bart

Re: [PHP-DB] ADDING DATES

2002-01-13 Thread Peter J. Schoenster
> At 12:17 AM 1/14/2002 +, Pedro M. S. Oliveira wrote: > > > >Hi all, first of all i'm sorry to ask this but i am getting lazy and > >i bet you all can answer me in a couple of code lines. i want to add > >some days to the the result of the date php function. how can i had > >lets say 3 days

Re: [PHP-DB] ADDING DATES

2002-01-13 Thread Daniel Barton
Miles, Hmm... "RTFM!" .. That's a pretty unproductive post. Pedro, There are two PHP functions that will suffice. date() and mktime(). I've cut and pasted this from the PHP manual: $tomorrow = mktime (0,0,0,date("m") ,date("d")+1,date("Y")); $lastmonth = mktime (0,0,0,date("m")-1,date("d"),

Re: [PHP-DB] ADDING DATES

2002-01-13 Thread Miles Thompson
RTFM! At 12:17 AM 1/14/2002 +, Pedro M. S. Oliveira wrote: >Hi all, first of all i'm sorry to ask this but i am getting lazy and i bet >you all can answer me in a couple of code lines. >i want to add some days to the the result of the date php function. >how can i had lets say 3 days? >ex:

[PHP-DB] ADDING DATES

2002-01-13 Thread Pedro M. S. Oliveira
Hi all, first of all i'm sorry to ask this but i am getting lazy and i bet you all can answer me in a couple of code lines. i want to add some days to the the result of the date php function. how can i had lets say 3 days? ex: (pseudo code) Thanks Pedro -- PHP Database Mailing List (http:/