1.

Solve : php and mysql less than date?

Answer»

i really need this problem SOLVE ASAP, how can i select  all dates from the DATA base less than or equal the given date FOR EXAMPLE THE GIVEN DATE IS SEP 22 2009 THEN,

FROM JAN 1 2009 UP TO SEP 22 2009 WOULD BE THE RESULT.

THANKZZZZZZZZHere is ONE possible solution:

CODE: [Select]SELECT *
FROM Store_Information
WHERE Date BETWEEN 'Jan-01-2008' AND 'Oct-04-2009'
If you had a table called Store_Information.
Is that what you want?thank you for your time but i got it in other way



Discussion

No Comment Found