i want a date wise search script......urgent

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
abhaycyber
Forum Newbie
Posts: 2
Joined: Mon Feb 15, 2010 4:44 am

i want a date wise search script......urgent

Post by abhaycyber »

i have a html table i stored the data into an array.
i want a date wise search script

Search:
Select Date:-
To:combobox From:combobox;

then after click the between these select date will be display

can anyone help.
User avatar
tr0gd0rr
Forum Contributor
Posts: 305
Joined: Thu May 11, 2006 8:58 pm
Location: Utah, USA

Re: i want a date wise search script......urgent

Post by tr0gd0rr »

you need help with the sql? You could use `BETWEEN`:

Code: Select all

SELECT * FROM mytable WHERE datefield BETWEEN '2010-01-01' AND '2010-02-15'
Post Reply