Hi,
When I use sql statement to select the date range from
$_POST value,It doesn't work.
-------------------------------------------
"select * from mydatabase where mydate between
'$_POST[start_date]' and '$_POST[end_date]' "
There is no error,but the result is not I
want.
ps:
(1)mydate attribute is timestamp
(2)$_POST[start_date] is something like
'2003/05/12'
|
- Re: [SQL] select date range? ko
- Re: [SQL] select date range? Josh Berkus
- Re: [SQL] select date range? Ramil G. Sagum
- Re: [SQL] select date range? scott.marlowe
- [SQL] yet pg_toast reindex Eric Anderson Vianet SAO
- Re: [SQL] yet pg_toast reindex Tom Lane
- Re: [SQL] yet pg_toast reindex Eric Anderson Vianet SAO
- Re: [SQL] yet pg_toast rein... Tom Lane
- Re: [SQL] yet pg_toast ... Eric Anderson Vianet SAO