Re: [PHP] Selecting all records between a date range
- From: dmjoseph@xxxxxxxxx ("Dan Joseph")
- Date: Thu, 2 Oct 2008 13:31:19 -0400
On Thu, Oct 2, 2008 at 12:35 PM, Jason Pruim <japruim@xxxxxxxxxx> wrote:
SQLTEST: SELECT * FROM `timeStore` WHERE `timein` BETWEEN
1222315200 AND 1222920000
Could not perform query: Query was empty
<japruim@xxxxxxxxxx>
Put a ' around your timestamp numbers. I think that should fix that query.
Although I'll admitt, I have no way to test that on mysql, but that is how
MS SQL works...
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/month.
"Build a man a fire, and he will be warm for the rest of the day.
Light a man on fire, and will be warm for the rest of his life."
- Follow-Ups:
- Re: [PHP] Selecting all records between a date range
- From: Chris
- Re: [PHP] Selecting all records between a date range
- From: Maciek Sokolewicz
- Re: [PHP] Selecting all records between a date range
- References:
- Selecting all records between a date range
- From: Jason Pruim
- Selecting all records between a date range
- Prev by Date: Re: [PHP] Selecting all records between a date range
- Next by Date: Re: [PHP] Selecting all records between a date range
- Previous by thread: Re: [PHP] Selecting all records between a date range
- Next by thread: Re: [PHP] Selecting all records between a date range
- Index(es):
Relevant Pages
|