Re: [PHP] Not sure if this is a php problem or a mysql problem

2006-03-29 Thread Angelo Zanetti
Chris wrote: Paul Goepfert wrote: Hi all, I have developed a php functilon that is to return the date +1 from a Mysql database. My sql statement is as follows SELECT dayNum FROM Days Where dayNum = day(curdate())+1; The function works great on the intended webserver but when placed on a

RE: [PHP] Not sure if this is a php problem or a mysql problem

2006-03-29 Thread Weber Sites LTD
If you want to do it in PHP you can always do : $Tomorrow = date( Y-m-d, strtotime (1 day ) ) ; Or more general : http://www.weberdev.com/get_example-292.html Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. SEO Data Monitor http://seo.weberdev.com

Re: [PHP] Not sure if this is a php problem or a mysql problem

2006-03-28 Thread Chris
Paul Goepfert wrote: Hi all, I have developed a php functilon that is to return the date +1 from a Mysql database. My sql statement is as follows SELECT dayNum FROM Days Where dayNum = day(curdate())+1; The function works great on the intended webserver but when placed on a different mysql