logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > Dreamweaver General
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 11-02-2011, 10:09 AM   #1
Slason
 
Join Date: Nov 2011
Posts: 1
Default Filter by date (need help)

Hello,

I am working on a school project, and I am making a website which observes weather. I am saving each "observation" in my database. I am listing all observations up on a page, and I want the user to have the ability to filter them by date.

At the moment I got this code:
Code:
SELECT *
FROM observations
WHERE (date BETWEEN @StartDate  AND @EndDate )
How do I make a form of some sort that specifies "@StartDate" and @EndDate"? All help will be appreciated.
Slason is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com