Hi, Im wondering if anyone has written code for searching through an access database based on a from and to date fields
The timestamp on the access database is in the format
yyyy-mm-dd hh:mm:ss
so I make $datefrom and $dateto the same format.
I have a form which ask for the date and convert it to this format, but in the php statement the 'where timestamp is < $dateto and > $datefrom'
but i get a Syntax error (missing operator) in query expression
any ideas ? thanks