Re: [PHP] Date -1

2001-01-26 Thread Richard Lynch
>I am trying to show the records created from the previous day. How can I make it show the date before today? My date field is like 2001-01-24 16:13:51. Below shows the current day... > > >$FileDate = date ("Y-m-d"); > >$connection = mysql_connect ("localhost", "*", "**"); >if ($connection

[PHP] Date -1

2001-01-25 Thread David Smith
I am trying to show the records created from the previous day. How can I make it show the date before today? My date field is like 2001-01-24 16:13:51. Below shows the current day... $FileDate = date ("Y-m-d"); $connection = mysql_connect ("localhost", "*", "**"); if ($connection == f