Saturday, November 17, 2012

select all data between two dates using mysql

SELECT *
FROM `product`
WHERE (createdate BETWEEN '2012-11-19 14:15:55' AND '2012-11-29 21:58:43');

Hope enjoy:)

htaccess allow access php specific file

<Files ~ "^piwik\.(js|php)|robots\.txt$">
    Allow from all
    Satisfy any
</Files>